Bluetooth Framework C++ Edition

◆ Respond()

int Respond ( void *const  Data,
const unsigned long  Size 
)

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.