Click or drag to resize

wclGattLocalServiceHalCreateCharacteristic Method

The function creates a driver specific GATT characteristic object.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
protected abstract int HalCreateCharacteristic(
	wclGattUuid Uuid,
	wclGattLocalCharacteristicParameters Params,
	out wclGattLocalCharacteristic Characteristic
)

Parameters

Uuid  wclGattUuid
The characteristic UUID.
Params  wclGattLocalCharacteristicParameters
The characteristic parameters.
Characteristic  wclGattLocalCharacteristic
If the function completed with success the parameter contains just created characteristic object.

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 to create a GATT characteristic.
See Also