wclGattClientConnectionHalReadCharacteristicValue Method |
Implements a hardware-dependent code for reading the value of
the specified characteristic.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected abstract int HalReadCharacteristicValue(
wclGattCharacteristic Characteristic,
wclGattOperationFlag Flag,
wclGattProtectionLevel Protection,
out byte[] Value
)
Protected MustOverride Function HalReadCharacteristicValue (
Characteristic As wclGattCharacteristic,
Flag As wclGattOperationFlag,
Protection As wclGattProtectionLevel,
<OutAttribute> ByRef Value As Byte()
) As Integer
protected:
virtual int HalReadCharacteristicValue(
wclGattCharacteristic Characteristic,
wclGattOperationFlag Flag,
wclGattProtectionLevel Protection,
[OutAttribute] array<unsigned char>^% Value
) abstract
Parameters
- Characteristic wclGattCharacteristic
- A wclGattCharacteristic
structure obtained by previous call to the ReadCaracteristics
method.
- Flag wclGattOperationFlag
- Operation behavior flag.
- Protection wclGattProtectionLevel
- Describes the required protection
level.
- Value Byte
- On output contains a characteristic's value
as bytes array. An application is responsible to clean up a memory
allocated for the dynamic array.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks A derived class must override this method.
See Also