Platforms to show: All Mac Windows Linux Cross-Platform

Back to IOBluetoothRFCOMMChannelMBS class.

IOBluetoothRFCOMMChannelMBS.ChannelID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the object rfcomm channel ID.

(Read only property)

Some examples using this property:

IOBluetoothRFCOMMChannelMBS.Device as IOBluetoothDeviceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the Bluetooth Device that carries the rfcomm data.

(Read only property)

IOBluetoothRFCOMMChannelMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The internal object reference.

(Read and Write property)

IOBluetoothRFCOMMChannelMBS.isIncoming as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the direction of the channel. An incoming channel is one that was opened by the remote device.

Returns true if the channel was opened by the remote device, false if the channel was opened by this object.
(Read only property)

IOBluetoothRFCOMMChannelMBS.isOpen as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the state of the channel.

True if the channel state is open, false otherwise.

note that "not open" means closed, opening and closing.
(Read only property)

IOBluetoothRFCOMMChannelMBS.isTransmissionPaused as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns true if flow control is off.

True if the action of sending data will block the current thread, false otherwise.

Returns true if the remote device flow control is stopping out transmission. This is useful because we do not buffer data, we stop the transmitting actor. With this method the transmitter can check if sending data is going to be successful or is going to block.
(Read only property)

IOBluetoothRFCOMMChannelMBS.Lasterror as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The last error code.

(Read and Write property)

IOBluetoothRFCOMMChannelMBS.MTU as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the channel maximum transfer unit.

Returns the length of the largest chunk of data that this channel can carry. If the caller wishes to use the write:length:sleep: api the length of the data can not be bigger than the channel MTU (maximum transfer unit).
(Read only property)

The items on this page are in the following plugins: MBS Bluetooth Plugin.


The biggest plugin in space...