Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Component: SerialPort

Enumerate serial ports and send/receive data.

Version macOS Windows Linux Server iOS SDK
3.0 / 13.4 ✅ 98% ✅ Yes 🔶 18% ✅ Yes, on macOS and Windows ❌ No

Item Details
SerialPort.AvailableBytes
Queries number of bytes available in buffer.
Mac/Win
4.4
SerialPort.Clear
Clears incoming buffer.
Mac/Win
7.4
SerialPort.ClearDataAvailableHandler
Clears the data available handler.
Mac/Win
5.1
SerialPort.Close
Closes serial port.
Mac/Win
3.0
SerialPort.CloseAll
Closes all serial ports.
Mac/Win
5.4
SerialPort.GetBaudRate
Queries the baud rate.
Mac/Win
3.1
SerialPort.GetCTS
Queries current CTS mode.
Mac/Win/Linux
3.4
SerialPort.GetDSR
Queries whether DSR mode is used.
Mac/Win/Linux
3.4
SerialPort.GetDTR
Queries whether DTR (data-terminal-ready) flow control is used.
Mac/Win/Linux
3.4
SerialPort.GetDataBits
Queries the data bit size.
Mac/Win
3.1
SerialPort.GetParity
Queries parity setting.
Mac/Win
5.0
SerialPort.GetRTS
Queries whether to use RTS (request-to-send) flow control.
Mac/Win/Linux
3.4
SerialPort.GetStopBits
Queries number of stop bits.
Mac/Win
5.0
SerialPort.GetTag
Queries tag value.
Mac/Win
13.0
SerialPort.GetXON
Queries if XON/XOFF flow control is used.
Mac/Win
3.4
SerialPort.HasLine
Checks if a line is available.
Mac/Win
7.0
SerialPort.IsSuspended
Checks suspension state.
Mac/Win
7.4
SerialPort.LastError
Returns the system error from last serial port function call.
Mac/Win
3.3
SerialPort.List
Returns list of names of serial ports.
Mac/Win
3.0
SerialPort.Open
Opens a serial port.
Mac/Win
3.0
SerialPort.OpenPath
Opens a special file, device or pipe.
Mac/Win
13.4
SerialPort.Path
Queries the path used to open the serial port.
Mac/Win
13.0
SerialPort.Read
Reads bytes from serial port and returns them as text.
Mac/Win
3.0
SerialPort.ReadByte
Reads a single byte to the serial port.
Mac/Win
3.0
SerialPort.ReadHex
Reads bytes from serial port and returns them hex encoded.
Mac/Win
3.0
SerialPort.ReadLine
Reads a line of text from serial port.
Mac/Win
7.0
SerialPort.Resume
Resumes serial port.
Mac/Win
7.4
SerialPort.SetBaudRate
Sets the baud rate.
Mac/Win
3.1
SerialPort.SetCTS
Sets CTS mode.
Mac/Win/Linux
3.4
SerialPort.SetDSR
Sets whether DSR mode is used.
Mac/Win/Linux
3.4
SerialPort.SetDTR
Sets whether DTR (data-terminal-ready) flow control is used.
Mac/Win/Linux
3.4
SerialPort.SetDataAvailableEvaluate
Sets the data available expression for this serial port.
Mac/Win
6.2
SerialPort.SetDataAvailableHandler
Sets the data available handler for this serial port.
Mac/Win
5.1
SerialPort.SetDataBits
Sets data bit size.
Mac/Win
3.1
SerialPort.SetParity
Sets parity setting.
Mac/Win
5.0
SerialPort.SetRTS
Sets whether to use RTS (request-to-send) flow control.
Mac/Win/Linux
3.4
SerialPort.SetStopBits
Sets number of stop bits.
Mac/Win
5.0
SerialPort.SetTag
Sets tag value.
Mac/Win
13.0
SerialPort.SetXON
Sets the serial port to use XON/XOFF mode.
Mac/Win
3.4
SerialPort.Suspend
Suspends serial port.
Mac/Win
7.4
SerialPort.WaitNamedPipe
Waits for a named pipe.
Win only
13.4
SerialPort.Write
Writes text to the serial port.
Mac/Win
3.0
SerialPort.WriteByte
Writes a single byte to the serial port.
Mac/Win
3.0
SerialPort.WriteHex
Writes text to the serial port.
Mac/Win
3.0

44 functions shown.

Release notes

Blog Entries

Example Databases