TwclRfCommClientConnection Class
The base class for all Classic Bluetooth (RFCOMM) client connections.
wclConnections.TwclCustomConnection
wclConnections.TwclClientConnection
wclConnections.TwclClientDataConnection
wclBluetooth.TwclRfCommClientConnection
type TwclRfCommClientConnection = class(TwclClientDataConnection) end;
The TwclRfCommClientConnection type exposes the following members.
Name | Description | |
---|---|---|
Address | Gets a remote device MAC address. | |
Authentication | Gets the authentication value. | |
Channel | Gets the target service RFCOMM channel number. | |
Encryption | Gets the encryption state of the connection. | |
Processor | Gets the current Data Processor object assigned to the Connection. (Inherited from TwclClientDataConnection.) | |
Radio | Gets the connection owner. | |
Receiver | Gets the connection message receiver object. (Inherited from TwclCustomConnection.) | |
Service | Gets the target Bluetooth service UUID used for connection. | |
State | Gets the connection state. (Inherited from TwclClientConnection.) | |
ThreadId | Gets the connection's thread ID. (Inherited from TwclCustomConnection.) | |
Timeout | Gets the connect timeout value. (Inherited from TwclClientConnection.) |
Name | Description | |
---|---|---|
Connect(Int64,TGUID,Byte,Boolean,Boolean,Cardinal) | Connects to a remote device. | |
Disconnect | Disconnects from the connected remote device. (Inherited from TwclClientConnection.) | |
DoConnect(Integer) | Fires the | |
DoData(Pointer,Cardinal) | Fires the | |
DoDisconnect(Integer) | Fires the | |
Enter | Enters the connection's critical section. (Inherited from TwclCustomConnection.) | |
GetReadBufferSize(Cardinal) | Reads the read buffer size. (Inherited from TwclClientDataConnection.) | |
GetWriteBufferSize(Cardinal) | Reads the write buffer size. (Inherited from TwclClientDataConnection.) | |
HalCommunicate(THandle) | Implements a hardware-dependent code that communicate with the connected remote device. (Inherited from TwclClientConnection.) | |
HalConnect(THandle) | Implements a hardware-dependent code that connects to a remote device. (Inherited from TwclClientConnection.) | |
HalDisconnect | Implements a hardware-dependent code that disconnects from the connected remote device. (Inherited from TwclClientConnection.) | |
HalGetReadBufferSize(Cardinal) | Reads the read buffer size. (Inherited from TwclClientDataConnection.) | |
HalGetWriteBufferSize(Cardinal) | Reads the write buffer size. (Inherited from TwclClientDataConnection.) | |
HalSetReadBufferSize(Cardinal) | Sets the read buffer size. (Inherited from TwclClientDataConnection.) | |
HalSetWriteBufferSize(Cardinal) | Sets the write buffer size. (Inherited from TwclClientDataConnection.) | |
HalWrite(Pointer,Cardinal,Cardinal) | Implements a hardware-dependent code that sends data to the connected device. (Inherited from TwclClientDataConnection.) | |
InternalDisconnect(Integer) | The internal disconnect method. Disconnects from a connected remote device. (Inherited from TwclClientConnection.) | |
Leave | Exists *leaves) the connection's critical section. (Inherited from TwclCustomConnection.) | |
MessageReceived(TwclMessage) | The method called when a new notification message received. (Overrides TwclClientDataConnection.MessageReceived(TwclMessage).) | |
NotifyClosed(Integer) | Send a Disconnect notification message. (Inherited from TwclClientConnection.) | |
NotifyDataReceived(Pointer,Cardinal) | Send a data notification message. (Inherited from TwclClientDataConnection.) | |
SetReadBufferSize(Cardinal) | Sets the read buffer size. (Inherited from TwclClientDataConnection.) | |
SetWriteBufferSize(Cardinal) | Sets the write buffer size. (Inherited from TwclClientDataConnection.) | |
Write(Pointer,Cardinal,Cardinal) | Sends data to the connected device. (Inherited from TwclClientDataConnection.) |
Name | Description | |
---|---|---|
OnConnect | The event fires when a connection to a remote device has been completed (with or without success). (Inherited from TwclClientConnection.) | |
OnData | The event fires when new data is received from the connected remote device. (Inherited from TwclClientDataConnection.) | |
OnDisconnect | The event fires when the remote connected device has been disconnected. (Inherited from TwclClientConnection.) |
An application must never create instances of this class directly. Instead of that an application must use related methods from the TwclBluetoothRadio object.