Hi,
I am evaluating nrf52 using the light switch example for one of our future products. I have used Nordic nrf51/52 for BLE applications in several products. This is my first time using it for a mesh application. Here is the problem I am facing
Environment:
Soft device : s132_nrf52_6.1.0
Mesh SDK Version : 3.0.0
SDK Version: 15.3.0
IDE: SES (Used for building , downloading & debugging)
Provisioning method: Android App
So, I have three nrf52 devkits programmed with server, client & provisioner examples provided in the mesh SDK. All the executions start with all LED's blinking pattern (I am alive pattern?). Now, as mentioned in the readme file I can see `nRF5x Mesh Switch` & `nRF5x Mesh Light` on the Android app(nRF Mesh). If I click the `nRF5x Mesh Switch` it starts the provisioning. The app shows the processing bar with stages connecting --> Discovering services --> Initializing and then it's stuck. In this stuck state all the LED's are solid on. Also, the device can't be seen on the App anymore. The behavior is consistent with the server example as well.
Debugging:
After this, I attempted to debug to see whats going wrong and this is what I found.
<t: 0>, main.c, 321, ----- BLE Mesh Light Switch Client Demo -----
<t: 18686>, main.c, 288, Initializing and adding models
<t: 23438>, main.c, 361, Device UUID : 0059CCAA00000000920C81A3F4DF19A1
<t: 276714>, app_error_weak.c, 108, Mesh assert at 0x0002ACEA (:0)
I am getting a asset on "0x0002ACEA (:0)". When I used addr2line, the assert happens here:
harsh@harsh-B250M-DS3H:/media/harsh/ESD-USB$ addr2line -e light_switch_client_nrf52832_xxAA_s132_6.1.0.elf 0x0002ACEA
C:\Users\HRuchandani\Documents\mesh-sdk-3.0.0\examples\light_switch\client/C:\Users\HRuchandani\Documents\mesh-sdk-3.0.0\mesh\core\src/timer_scheduler.c:214 (discriminator 1)
Could you please assist with What's actually wrong here? as I have used dev kits and not even the custom HW yet. Please let me know if I missed a step or something.
Thanks.