TwclGattLocalCharacteristic.Create(TwclGattLocalService,TwclGattUuid,TwclGattLocalCharacteristicParameters) Constructor

Creates new local GATT characteristic.

Namespace: wclBluetooth
public
 constructor Create(const Service: TwclGattLocalService;
 const Uuid: TwclGattUuid;
 const Params: TwclGattLocalCharacteristicParameters);

Parameters

Service
Type: TwclGattLocalService

The local GATT service object that owns the characteristic. If this parameter is nil the wclErrors.wclECritical exception raises.

Uuid
Type: TwclGattUuid

The characteristic's UUID.

Params
Type: TwclGattLocalCharacteristicParameters

The characteristic's parameters.

An application must not create this class directly. Instead of that an application must use methods of the TwclGattLocalService classe.