wclGattClientConnectionHalWriteCharacteristicValue Method |
Implements a hardware-dependent code to write the specified
characteristic value to the Bluetooth device.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected abstract int HalWriteCharacteristicValue(
wclGattCharacteristic Characteristic,
wclGattProtectionLevel Protection,
byte[] Value
)
Protected MustOverride Function HalWriteCharacteristicValue (
Characteristic As wclGattCharacteristic,
Protection As wclGattProtectionLevel,
Value As Byte()
) As Integer
protected:
virtual int HalWriteCharacteristicValue(
wclGattCharacteristic Characteristic,
wclGattProtectionLevel Protection,
array<unsigned char>^ Value
) abstract
Parameters
- Characteristic wclGattCharacteristic
- A wclGattCharacteristic
structure obtained by previous call to the ReadCaracteristics
method.
- Protection wclGattProtectionLevel
- Describes the required protection
level.
- Value Byte
- Contains a characteristic's value as bytes
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