TwclGattLocalCharacteristic Class
This class represents a local GATT characteristic.
type TwclGattLocalCharacteristic = class(TwclGattLocalAttribute) end;
The TwclGattLocalCharacteristic type exposes the following members.
Name | Description | |
---|---|---|
Create(TwclGattLocalService,TwclGattUuid,TwclGattLocalCharacteristicParameters) | Creates new local GATT characteristic. | |
Destroy | Frees the object. (Overrides TwclGattLocalAttribute.Destroy.) |
Name | Description | |
---|---|---|
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.) |
Name | Description | |
---|---|---|
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. |
An application must not create or destroy this class directly.
Instead of that an application must use methods of the