Page 1 of 1

How to Subscribe to a Notify BLE (NIMBLE)

Posted: Thu Jun 24, 2021 10:29 am
by divraj
Hi I am trying to use the NimBLE stack to listen to a BLE device which updates its notify characteristics every second. I am able to search for the service and characteristics, however I am able to find any api reference for me subscribe to notify characteristics and listen to the events.

Is this possible? Can you give me an example?

Re: How to Subscribe to a Notify BLE (NIMBLE)

Posted: Thu Jul 29, 2021 4:18 am
by alexshield
You should use CCCD of this CHARECTERISTICS to subscribe for notifications.