Bluetooth Framework C++ Edition

◆ HalRespond()

virtual int HalRespond ( void *const  Data,
const unsigned long  Size 
)
protectedpure virtual

Sends the specified data to the connected client in respond to a read request.

Parameters
DataThe pointer to the data.
SizeThe data length.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

A derived class must override this method to provide hardware dependent code that sends a data to a remote connected GATT client.