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

What is the right way to deal with NRF_ERROR_BUSY in a complex multirole application under FreeRTOS?

I'm developing a central that may have to service more than one peripheral concurrently while (occasionally) advertising its own peripheral service. Things seem to work OK under FreeRTOS, but on occasion I still run into the dreaded NRF_ERROR_BUSY when I try to initiate certain actions in response to events.

What is the preferred architecture to deal with this? Is there some kind of built-in asynchronous "queue with retry"? Or do I have to roll my own?

Parents Reply Children
Related