Integrating BLE service into an RTOS application

I have an RTOS application into which I integrated a custom BLE service code. Question is, there isn't any need for a separate thread for handling BLE stuff? I see BLE events still fire off fine though not sure how that affects the thread execution.

Also, these BLE events happen within an interrupt?

Parents Reply Children
  • In the nRF connect app you will see the attribute value beeing updated. You could try one of the SDk examples. i.e. heart rate service, then eneble notifications for this to see how the value is updated in the nRF connect app. The value will simply be sent to the peer in the first possible connection event. Then you should see it update in nRF connect app.

Related