Bluetooth Framework C++ Edition

◆ OnSubscribed()

__event void OnSubscribed ( void *  Sender,
CwclGattServerClient *const  Client,
CwclGattLocalCharacteristic *const  Characteristic 
)

The event fires when a remote GATT client subscribes to the characteristic changes notifications or indications.

Parameters
SenderThe object initiates the event.
ClientThe CwclGattServerClient object that subscribed or unsubscribed.
CharacteristicThe characteristic object for which writes is executing.
See also
CwclGattServerClient, CwclGattLocalCharacteristic