Bluetooth Framework C++ Edition

◆ HalCreateCharacteristic()

virtual int HalCreateCharacteristic ( const wclGattUuid Uuid,
const wclGattLocalCharacteristicParameters Params,
CwclGattLocalCharacteristic *&  Characteristic 
)
protectedpure virtual

The function creates a driver specific GATT characteristic object.

Parameters
UuidThe characteristic UUID.
ParamsThe characteristic parameters.
CharacteristicIf the function completed with success the parameter contains just created characteristic object.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

A derived class must override this method to create a GATT characteristic.

See also
wclGattUuid, wclGattLocalCharacteristicParameters, CwclGattLocalCharacteristic