Platforms to show: All Mac Windows Linux Cross-Platform

SerialPortMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SerialPort MBS Util Plugin 22.3 ✅ Yes ✅ Yes ✅ Yes ❌ No All
Function: Enumerate serial ports and send/receive data.
Notes: While we compiled this class also for iOS, we don't expect anyone to find a serial port on an iPhone.

Parity

Constant Value Description
kParityEven 2 Even parity
kParityNone 0 No parity
kParityOdd 1 Odd parity

RTS Flow Control Settings

Constant Value Description
kWinRTSControlDisabled 0 Disables the RTS line when the device is opened and leaves it disabled.
kWinRTSControlEnabled 1 Enables the RTS line when the device is opened and leaves it on.
kWinRTSControlHandshake 2 Enables RTS handshaking. The driver raises the RTS line when the "type-ahead" (input) buffer is less than one-half full and lowers the RTS line when the buffer is more than three-quarters full.
kWinRTSControlToggle 3 Specifies that the RTS line will be high if bytes are available for transmission. After all buffered bytes have been sent, the RTS line will be low.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine


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


Separator   -   SFAcousticFeatureMBS

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat