TwclGattLocalCharacteristicWriteRequest.RespondWithError(Integer) Method

Responds to the request with an error.

Namespace: wclBluetooth
public
 function RespondWithError(const Error: Integer): Integer; override;

Parameters

Error
Type: Integer

The GATT operation error code.

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.

Overrides

TwclGattLocalCharacteristicRequest.RespondWithError(Integer)