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

Long running task

Hi,

I have following use case. The write operation on one of the characteristics triggers some UART job which takes about 1 / 1.5 seconds to complete. After the completion, results are sent through notification by use of ble_gatts_hvx method.

This job is started using app_sched_event_put method to prevent the application intterupts. My problem is that even though this job should run independently of BLE STACK (it should even be interrupted by BLE STACK) i always get disconnections after running the job which I guess are caused by blocking BLE STACK.

Parents Reply Children
No Data
Related