TwclGattLocalCharacteristicReadRequest.Respond(Pointer,Cardinal) Method
Sends the specified data to the connected client in respond to a read request.
public function Respond(const Data: Pointer; const Size: Cardinal): Integer;
Parameters
- Data
- Type: Pointer
The pointer to the data.
- Size
- Type: Cardinal
The data length.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.