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 |
Notes: While we compiled this class also for iOS, we don't expect anyone to find a serial port on an iPhone.
- event DataAvailable
- 12 properties
- property Handle as Integer
- property Lasterror as Integer
- property Suspended as Boolean
- property BaudRate as Integer
- property CTS as Boolean
- property DataBits as Integer
- property DSR as Boolean
- property DTR as Boolean
- property Parity as Integer
- property RTS as Boolean
- property StopBits as Double
- property XON as Boolean
- 15 methods
- method AvailableBytes as Integer
- method Clear
- method Close
- method Constructor
- method HasDataAvailable as Boolean
- method HasLine as Boolean
- method Open(Name as String, Index as Integer = 0)
- method Poll
- method Read(MaxByteSizeToRead as Integer) as String
- method ReadByte as Integer
- method ReadLine as String
- method Resume
- method Suspend
- method Write(value as String) as Integer
- method WriteByte(value as Integer) as Integer
- shared method List(Mode as Integer = 0) as String()
- 3 constants
Parity
Constant | Value | Description |
---|---|---|
kParityEven | 2 |
Even parity |
kParityNone | 0 |
No parity |
kParityOdd | 1 |
Odd parity |
This class has no sub classes.
The items on this page are in the following plugins: MBS Util Plugin.
Separator - SFAcousticFeatureMBS
Feedback: Report problem or ask question.
