Click or drag to resize

wclGattLocalServiceAddCharacteristic Method

Creates new characteristic and adds it to the service characteristics list.

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

Parameters

Uuid  wclGattUuid
The characteristic UUID.
Params  wclGattLocalCharacteristicParameters
The characteristic parameters.
Characteristic  wclGattLocalCharacteristic
If the method completed with success the parameters contains a just created GATT 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.
See Also