Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattLocalService::HalCreateCharacteristic Method

The function creates a driver specific GATT characteristic object.

Syntax
C++
virtual int HalCreateCharacteristic(wclGattUuid Uuid, wclGattLocalCharacteristicParameters Params, CwclGattLocalCharacteristic*& Characteristic) = 0;
Parameters 
Description 
wclGattUuid Uuid 
The characteristic UUID.  
wclGattLocalCharacteristicParameters Params 
The characteristic parameters.  
CwclGattLocalCharacteristic*& Characteristic 
If the function completed with success the parameter contains just created characteristic object.  

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.

Copyright (c) 2006-2020. All rights reserved.