Hi all, Is it possible to hide a Service during advertising? And show it after the connection?
If yes, how?
My configuration:
- nrf52832 microcontroller
- Softdevice S132 V4.0.2
- Nordic SDK 13.0
Thanks
Hi all, Is it possible to hide a Service during advertising? And show it after the connection?
If yes, how?
My configuration:
Thanks
Yes - don't put it in the advertising packet as an advertised service. You'll then only discover it after connection
To add or remove services from the GATT database, you need to restart the SoftDevice, so you can not do this during a connection. You can, however, change what characteristics can be read/written during a connection by using Authorization.
To add or remove services from the GATT database, you need to restart the SoftDevice, so you can not do this during a connection. You can, however, change what characteristics can be read/written during a connection by using Authorization.