This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

app_sched_execute() gives a radio timeslot error

Hi,

I am developping some kind of driver as my company calls it which will be used to easily setup a mesh network for our projects. I am using the light_switch_client_example as a starting point for this. I have managed to get everything working, I am able to provision and setup the devices for the network, and the devices are able to send and receive messages.

For everything to work correctly, I added the definition of the app scheduler via APP_SCHED_INIT(APP_SCHED_EVENT_SIZE, APP_SCHED_QUEUE_SIZE) and called the functions app_sched_execute() and (void)nrf_mesh_process() during each loop, instead of (void)sd_app_event_wait().

My problem now is if I wait too long before provisioning my node after flashing the softdevice (like 5 minutes) then app_sched_execute() gives a radio timeslot error during the provisioning process. But everything works fine if I provision the node right after flashing.

I am developing on a nRF52832 board and using SDK 16.0.0 as well as SDK for Mesh version 4.0.0 and Softdevice s132 v7.0.1

Do you have any idea on what could be done to solve this issue ?

Regards,

Quentin

Parents Reply Children
Related