Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattServerConnection::DoRead Method

Fires the OnRead event.

Syntax
C++
virtual void DoRead(CwclGattLocalCharacteristic* Characteristic, __int64 Address, CwclGattLocalCharacteristicValue* Value);
Parameters 
Description 
CwclGattLocalCharacteristic* Characteristic 
The local GATT characteristic object that requested the write operaton.  
__int64 Address 
The remote device's which executes write operation MAC address.  
CwclGattLocalCharacteristicValue* Value 
The local GATT characteristic value object. An application must call the SetData method of the passed object to provide characteristic's data.  

This method is called when a remote GATT client requests read from the characteristic. An application must call the Respond method to send a data back to the device.

Copyright (c) 2006-2020. All rights reserved.