Comments (10)
Hi, error code 12 is NRF_ERROR_DATA_SIZE, and in this case, this means that the advertisement length exceeds the advertisement 31 byte maximum. I don't have the numbers in front of me, but I assume that the S130 attempts to add more auxiliary data to the advertisement than the S110 does. Does removing (or shortening) the name of the device fix your problem? Are you able to see where in the ble_advdata_set()
procedure (or its subprocedures) the error originates?
from nrf51-ble-bcast-mesh.
no, this is not cause of the issue. the issue is the ble_adv_data is totally corrupted somewhere. (checked content and there are meaningless fields). I can't find any control path doing this so I assume something like memory overflow.
Is there anyone have tried using bcast-mesh with S130 stack ?
Any example are welcome.
from nrf51-ble-bcast-mesh.
Could you post the resulting ble_adv_data as it is when you get the crash?
from nrf51-ble-bcast-mesh.
Hey guys,
I wondern how you were able to utilize rbc_mesh with softdevice s130 at all!?
When trying to run the sample code on s110 everything works fine. But whenever I flash softdevice s130 and switch all code references accordingly, nothing gets executed and I'm unable to debug.
Am I missing something?
Thanks in advance,
Joschi
from nrf51-ble-bcast-mesh.
The S130 v1.0 has been tested with the SDK8-branch, and should work if configured correctly. Did you change the scatter-file (for gcc) or the target-address dialog in Keil? The S130 is differently sized than the S110, and the application start address must be different.
from nrf51-ble-bcast-mesh.
Thanks for your fast reply.
Yes I changed it in Keil, but I'm not sure whether it is correct as I always have trouble finding the correct addresses (I'm new to this ;-) )
Currently I'm using IROM start address 0x1C000 and size 0x24000
For IRAM I'm using 0x20002800 and size 0x5800.
Is that correct?
from nrf51-ble-bcast-mesh.
I think your IROM address is off. The S130 Specification (pdf-warning!), chapter 10.1 gives you the correct offsets. Try 0x20000 instead of 0x1C000, and size 0x20000.
I think your RAM-offset is alright though.
from nrf51-ble-bcast-mesh.
Thanks for your help!
Unfortunately nothing has changed. Maybe I messed around to much.
I think I will start over from the examples this evening and try to switch from S110 to S130.
from nrf51-ble-bcast-mesh.
Hm, maybe. If that doesn't help, try starting the program in debug mode in Keil, and set breakpoints in your app_error_handler() and HardfaultHandler(), and see if they're hit. Once initialized, the framework is very sensitive to timing, and will crash if you try to execute after hitting breakpoints or any code stepping, so be careful. Report back with any errors, and I'll see what I can do.
from nrf51-ble-bcast-mesh.
The S130 v1 and v2 and the bcast mesh should work together. Start with an S130 peripheral project and then add the mesh to it.
from nrf51-ble-bcast-mesh.
Related Issues (20)
- Mesh encryption of data HOT 1
- Multiple frequencies and modulation types for RX and TX HOT 3
- OTA for mesh nodes HOT 2
- into module? HOT 2
- Notification not enabled for sdk13 and nRF52832 HOT 2
- hack HOT 1
- What does "radio_order" and "RADIO_EVENT_TYPE_RX_PREEMPTABLE" etc. do? HOT 1
- consider storing i_relative as log2(i_relative) to save 3 bytes per trickle
- it seems a bug! HOT 1
- Packet loss in mesh network HOT 1
- 3 Questions regarding migrating to Nrf52 platforms HOT 1
- GATT Service HOT 1
- DFU questions
- Mesh monitoring on a device HOT 1
- What is the hop delays and relevant solutions? HOT 1
- battery usage / fruity mesh HOT 2
- rbc_mesh_stop sometimes crashes my program HOT 3
- Timeslot SD crash fix only applicable for NRF52?
- P
- b16e1105f3da788022c24e75b8603f9f4426a636
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nrf51-ble-bcast-mesh.