Bluetooth Framework C++ Edition

◆ SetChannel()

void SetChannel ( const unsigned char  Value)

Sets the service RFCOMM channel number. 0 to auto detection.

Parameters
ValueThe RFCOMM channel number used for connection.

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

Exceptions
wclEBluetoothServer
wclEInvalidArgument