Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Turning services like HID "on/off" without disconnect.

I have a nrf52832 based device with several GATT services which are used by custom IOS/Android applications via a paired phone.  All of this is working correctly.

I would like to add the HID over BLE service but I need to be able to "turn on and off" as needed without disconnect from phone because of other services.

So the question is: What is the best way to make a GATT service like HID unavailable when a phone is receiving notifications from from multiple GATT services?

Related