Bluetooth Framework C++ Edition

◆ OnRead()

__event void OnRead ( void *  Sender,
CwclGattServerClient *const  Client,
CwclGattLocalCharacteristic *const  Characteristic,
CwclGattLocalCharacteristicReadRequest *const  Request 
)

The event fires when a remote GATT client requests characteristic's data read.

Parameters
SenderThe object initiates the event.
ClientThe CwclGattServerClient object that requested read.
CharacteristicThe characteristic object for which writes is executing.
RequestThe GATT read request object.
See also
CwclGattServerClient, CwclGattLocalCharacteristic, TwclGattLocalCharacteristicReadRequest