wcl |
The wclGattServerConnection type exposes the following members.
| Name | Description | |
|---|---|---|
| wclGattServerConnection | Creates a new "virtual" GATT Server connection object. |
| Name | Description | |
|---|---|---|
| Active | Gets the GATT server state. | |
| ClientsCount | Gets the clients count. | |
| CS | Gets the connection critical section. (Inherited from wclCustomConnection) | |
| MessageProcessing | Gets the message processing method used by the
connection. (Inherited from wclCustomConnection) | |
| Radio | Gets the connection owner. | |
| Receiver | Gets the connection message receiver object. (Inherited from wclCustomConnection) | |
| ServicesCount | Gets the services count. | |
| ThreadId | Gets the connection's thread ID. (Inherited from wclCustomConnection) |
| 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. | |
| 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) | |
| HalCreateClient | Creates a driver specific GATT server client object. | |
| HalCreateService | Creates a driver specific local GATT service object. | |
| HalInitialize | Implements a driver specific code to initialize Bluetooth LE GATT Server. | |
| HalUninitialize | Implements a driver specific code to uninitialize Bluetooth LE GATT Server. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MessageReceived | The method called when a new notification message
received. (Overrides wclCustomConnectionMessageReceived(wclMessage)) | |
| Services | Gets the local GATT service by its index. | |
| Start | Starts the Bluetooth LE GATT Server. | |
| Stop | Stops the Bluetooth LE GATT Server. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| 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. |