Click or drag to resize

wclRfCommClientChannel Property

Gets and sets the RFCOMM channel number used for connection.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public byte Channel { get; set; }

Property Value

Byte
The RF COMM channel number. The value must be between 0 and 33 (including 0 and 32).
Exceptions
Remarks

If an application changes the property when connection is active the wclEBluetoothClient exception raises.

If the Channel value is 0 a Bluetooth driver try to resolve required channel number by querying a target devices SDP using the service's UUID. In this case it will use the first found service that matches the UUID.

See Also