TwclGattClientConnection.HalReadDescriptors(TwclGattCharacteristic,TwclGattOperationFlag,TwclGattDescriptors) Method
The method reads all the descriptors available for the specified characteristic.
protected function HalReadDescriptors(const Characteristic: TwclGattCharacteristic; const Flag: TwclGattOperationFlag; out Descriptors: TwclGattDescriptors): Integer; virtual; abstract;
Parameters
- Characteristic
- Type: TwclGattCharacteristic
A TwclGattCharacteristic structure obtained by previous call to the
ReadCaracteristics
method. - Flag
- Type: TwclGattOperationFlag
Operation behavior flag.
- Descriptors
- Type: TwclGattDescriptors
On output contains the list of the characteristic's descriptors.
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.