Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

How to handle Time Consuming Function Calls in Application Having SoftDevice?

Hello everybody,

I am working on a nRF52832 DK  and implemented libuarte (on a nRF52832) to communicate with another uC on said board.
I am using sdk 17.0.2. The goal is to receive data from the other uC and transmit it via BLE to a connected device using notifications/Indication via Characteristics.

I need To handle some state application handle functions that consume more time in execution. I'm not aware of where to call these functions, so that softdevice communication timing remain maintained.  Currently, I'm calling these functions in idle_state_handle(); and i'm not pretty sure that it is correct way to call here.

Parents Reply Children
No Data
Related