TwclGattLocalCharacteristic Class

This class represents a local GATT characteristic.

Namespace: wclBluetooth
TObject
  wclBluetooth.TwclGattLocalAttribute
    wclBluetooth.TwclGattLocalCharacteristic
type
 TwclGattLocalCharacteristic = class(TwclGattLocalAttribute)
 end;

The TwclGattLocalCharacteristic type exposes the following members.

Show:
 NameDescription
Create(TwclGattLocalService,TwclGattUuid,TwclGattLocalCharacteristicParameters)

Creates new local GATT characteristic.

Destroy

Frees the object. (Overrides TwclGattLocalAttribute.Destroy.)

Top
Show:
 NameDescription
Added

Gets the characteristic's status.

Clients[Integer]

Gets the subscribed client by its index.

Count

Gets the subscribed clients count.

Error

Gets the characteristic's publishing error.

Params

Gets the characteristic's parameters.

Service

Gets the GATT service object that owns the characteristic.

Uuid

Gets the attribute's UUID. (Inherited from TwclGattLocalAttribute.)

Top
Show:
 NameDescription
Enter

Enters the GATT local attribute protection critical section. (Inherited from TwclGattLocalAttribute.)

HalAdd

The method implements a driver specific code to add characteristic to the local GATT service.

HalNotify(Int64,Pointer,Cardinal)

The function implements a driver specific code to send notification to the given subscribed client.

HalRemove

The method implements a driver specific code to remove characteristic from the local GATT service.

Leave

Leaves the GATT local attribute protection critical section. (Inherited from TwclGattLocalAttribute.)

Notify(Int64,Pointer,Cardinal)

Sends notification to the given subscribed client.

Top

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