Hi,
I just completed the migration from mesh sdk 2.2.0 to 3.0.0.
After running the project it get stuck at line 422 of timeslot.c in function timeslot_sd_event_handler().
Can you help?
Hi,
I just completed the migration from mesh sdk 2.2.0 to 3.0.0.
After running the project it get stuck at line 422 of timeslot.c in function timeslot_sd_event_handler().
Can you help?
Hi Lucio,
Sorry for the late reply. Could you check if you are registering SD event observer twice? This will happen if you call ble_stack_init() function from the ble_softdevice_support.c
If this is not the case, could you please give any other input in how to reproduce this issue?
Best Regards,
Marjeris
Hi Marjeris,
I call ble_stack_init() once from initialize() in main.c
I migrated my project from sdk 2.2.0 with SD 6.0.0
Is there something I need to do when switching from SD 6.0 to SD 6.1 ?
I simply changed the reference on the project from the old SD to the new.
There is something else?
I also changed the references to the .s files.
The project compiles and run as expected. I can see the debug info as expected, but after about 1-2s the application hangs on that ASSERT.
Lucio
Marjeris,
as mentioned above the application stops on:
NRF_MESH_ASSERT(sd_radio_request(&m_radio_request_earliest) == NRF_SUCCESS);
For completeness I can add that the returned value of sd_radio_request() is NRF_ERROR_FORBIDDEN = 15
Lucio
Hi Lucio,
You should use the NRF5 SDK v15.2 as well while compiling the project. We have a migration guide for the Mesh SDK v3.0.0. There are some changes to the way how examples are initialized and you should implement those changes as well. Have you taken a look at that guide yet? If you have any confusion while migrating the project you can also take a look at the examples provided in SDK 3.0.0 for a reference.
Migration guide: https://www.nordicsemi.com/en/DocLib/Content/SDK_Doc/Mesh_SDK/v3-0-0/md_doc_migration_2_2_0_to_3_0_0
Best Regards,
Marjeris
Hi Marjeris,
yes, I followed the migration guide and the program is compiled and run.
Now we are checking again and we are comparing our project with the light_switch server example.
Lucio