TwclGattServerClient Class

The class represents a GATT client connected to the GATT server.

Namespace: wclBluetooth
TObject
  wclBluetooth.TwclGattServerClient
type
 TwclGattServerClient = class
 end;

The TwclGattServerClient type exposes the following members.

Show:
 NameDescription
Create(Int64,TwclGattServerConnection)

Creates new client object.

Destroy

Fress the object.

Top
Show:
 NameDescription
Address

Gets the client's address.

Characteristics[Integer]

Gets the subscribed characteristic by its index.

Connection

Gets the TwclGattServerConnection object that owns the client.

Count

Gets the subscribed characteristics count.

Subscribed

Gets the client subscribed status.

Top
Show:
 NameDescription
AfterConnect(TwclBluetoothGattServerClientParams)

The method called right after client connected.

AfterDisconnect

The method right after a client disconnected from the server and before the client will be destroyed.

AfterSubscribed(TwclGattLocalCharacteristic)

The method called right after the client subscribed to a characteristic.

AfterUnsubscribed(TwclGattLocalCharacteristic)

The method called right after the client unsubscribed from a characteristic.

Disconnect

Disconnects the client from a server.

GetConnectionParams(TwclBluetoothLeConnectionParameters)

Gets the current connection parameters.

GetConnectionPhyInfo(TwclBluetoothLeConnectionPhy)

Reads the Bluetooth LE physical layer (PHY) information.

GetMaxNotificationSize(Word)

Reads the maximum notification size.

GetMaxPduSize(Word)

Reads the maximum PDU size for the current connection.

HalDisconnect

Provide a driver specific code to disconnect the client from a server.

HalGetConnectionParams(TwclBluetoothLeConnectionParameters)

Implements a hardware-dependent code to get the current connection parameters.

HalGetConnectionPhyInfo(TwclBluetoothLeConnectionPhy)

Implements a hardware-dependent code to reads the Bluetooth LE physical layer (PHY) information.

HalGetMaxNotificationSize(Word)

Provides a driver specific code to read the maximum notification size.

HalGetMaxPduSize(Word)

Implements a hardware-dependent code to read the maximum PDU size for the current connection.

HalSetConnectionParams(TwclBluetoothLeConnectionParametersType)

Overloaded. Implements a hardware-dependent code to request the connection parameters change to the specified preferred connection parameters.

HalSetConnectionParams(TwclBluetoothLeConnectionParametersValue)

Overloaded. Implements a hardware-dependent code to request the connection parameters change to the specified preferred connection parameters.

SetConnectionParams(TwclBluetoothLeConnectionParametersType)

Overloaded. Request the connection parameters change to the specified preferred connection parameters.

SetConnectionParams(TwclBluetoothLeConnectionParametersValue)

Overloaded. Request the connection parameters change to the specified preferred connection parameters.

Top

An application must not create and destroy objects of this class directly. The objects of this class managed by the TwclGattServerConnection.