Platforms to show: All Mac Windows Linux Cross-Platform
Back to SerialPortMBS class.
SerialPortMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SerialPort | MBS Util Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
(Read only property)
SerialPortMBS.Lasterror as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SerialPort | MBS Util Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
The error code is zero for no error.
On Windows you get the windows system error codes and on macOS and Linux the unix system error codes.
The methods and properties raise IOException in case of errors and include the error codes.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SerialPort | MBS Util Plugin | 23.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Set by Open() method.
Value is e.g. "COM1"
(Read only property)
SerialPortMBS.Suspended as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SerialPort | MBS Util Plugin | 22.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Checks suspension state.
While suspended, we do not trigger event and clear incoming buffer regularly.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SerialPort | MBS Util Plugin | 23.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
You can store whatever you like in this property to read it later.
(Read and Write property)
The items on this page are in the following plugins: MBS Util Plugin.