wcl |
The wclGattServer type exposes the following members.
Name | Description | |
---|---|---|
wclGattServer | Creates new component. |
Name | Description | |
---|---|---|
ClientsCount | Gets the clients count. | |
Initialized | Gets the server's state. | |
Radio | Gets the server's owner. | |
ServicesCount | Gets the services count. | |
Started | Gets the server running status. |
Name | Description | |
---|---|---|
AddService | Creates new local GATT service and adds it to the services list. | |
ClearServices | Clears the local services list. | |
Clients | Gets the GATT server client by its index. | |
DeleteService | Deletes the service with given index. | |
DoClientConnected | Fires the OnClientConnected event. | |
DoClientDisconnected | Fires the OnClientDisconnected event. | |
DoConnectionParamsChanged | Fires the OnConnectionParamsChanged event. | |
DoConnectionPhyChanged | Fires the OnConnectionPhyChanged event. | |
DoMaxPduSizeChanged | Fires the OnMaxPduSizeChanged event. | |
DoNotificationSizeChanged | Fires the OnNotificationSizeChanged event. | |
DoRead | Fires the OnRead event. | |
DoStarted | Fires the OnStarted event. | |
DoStopped | Fires the OnStopped event. | |
DoSubscribed | Fires the OnSubscribed event. | |
DoUnsubscribed | Fires the OnUnsubscribed event. | |
DoWrite | Fires the OnWrite event. | |
Enter | Enters the Bluetooth component protection critical
section. (Inherited from wclBluetoothComponent) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Initialize | Initializes Bluetooth LE GATT Server. | |
Leave | Leaves the Bluetooth component protection critical
section. (Inherited from wclBluetoothComponent) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Services | Gets the local GATT service by its index. | |
Start | Starts the GATT server. | |
Stop | Stops the GATT server. | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
Uninitialize | Uninitializes the Bluetooth LE GATT Server. |
Name | Description | |
---|---|---|
OnClientConnected | The event fires when a client connected to the server. | |
OnClientDisconnected | The event fires when a client disconnected from the server. | |
OnConnectionParamsChanged | The event fires when the connection parameters changed. | |
OnConnectionPhyChanged | The event fires when the connection PHY changed. | |
OnMaxPduSizeChanged | The event fires when maximum PDU size changed for the connected client. | |
OnNotificationSizeChanged | The event fires when a maximum notification size of a subscribed client has been changed. | |
OnRead | The event fires when a remote GATT client requests characteristic's data read. | |
OnStarted | The event fires when the Bluetooth LE GATT Server has been successfully started. | |
OnStopped | The event fires when the Bluetooth LE GATT Server has been stopped. | |
OnSubscribed | The event fires when a remote GATT client subscribes to the characteristic changes notifications or indications. | |
OnUnsubscribed | The event fires when a remote GATT client unsubscribes from the characteristic changes notifications or indications. | |
OnWrite | The event fires when a remote device writes data to the characteristic. |