Click or drag to resize
wclRfCommServer Class
Bluetooth RFCOMM server.
Inheritance Hierarchy

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.3.0.0 (7.3.0.0)

The wclRfCommServer type exposes the following members.

Constructors
  NameDescription
Public methodwclRfCommServer
Creates a new component.
Top
Properties
  NameDescription
Public propertyAssignedChannel
Gets the RFCOMM assigned channel number.
Public propertyAuthentication
Gets and sets the authentication value.
Public propertyChannel
Gets and sets the service RFCOMM channel number. 0 to auto detection.
Public propertyCount
Gets the number of the connected clients.
Public propertyEncryption
Gets and sets the encryption state of the connection.
Public propertyItem
Gets the connected client by its index.
Public propertyRadio
Gets the connection radio object.
Public propertyService
Gets and sets the Bluetooth service UUID used for connection.
Public propertyServiceName
Gets and sets the service name.
Public propertyState
Gets the current connection state.
Top
Methods
  NameDescription
Public methodClose
Closes the server.
Protected methodDoClosed
Fires the OnClosed event.
Protected methodDoConnect
Fires the OnConnect event.
Protected methodDoData
Fires the OnData event.
Protected methodDoDisconnect
Fires the OnDisconnect event.
Protected methodDoListen
Fires the OnListen event.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodListen
The method starts listening for client connections.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventOnClosed
The event fires when the server is closed.
Public eventOnConnect
The event fires when a remote client is connected to the server.
Public eventOnData
The event fires when new data is received from the connected remote device.
Public eventOnDisconnect
The event fires when a remote client has disconnected from the server.
Public eventOnListen
The event fires when the serve ris ready to accept incomming connections (is in listening state).
Top
Remarks
The TwclRfCommClient component enables an application to accept connections from Bluetooth devices through RFCOMM protocol and work with RFCOMM based profiles (SPP, OBEX, others).
See Also