TwclGattClientConnection.HalReadCharacteristics(TwclGattService,TwclGattOperationFlag,TwclGattCharacteristics) Method
Implements a hardware-dependent code for reading the characteristics available for the specified service.
protected function HalReadCharacteristics(const Service: TwclGattService; const Flag: TwclGattOperationFlag; out Characteristics: TwclGattCharacteristics): Integer; virtual; abstract;
Parameters
- Service
- Type: TwclGattService
Parent service returned by the call to the
ReadServices
method. - Flag
- Type: TwclGattOperationFlag
Operation behavior flag.
- Characteristics
- Type: TwclGattCharacteristics
On output a list of the service's characteristics. An application is responsible to clean up a memory allocated for the dynamic array.
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.
A derived class must override this method.