Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Reads a line of text from serial port.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SerialPort | 7.0 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
PortReference | The reference number of the port. You get this number from SerialPort.Open when you open the port. | $port | |
Encoding | The text encoding for result. Default is native. This function can also handle UTF-16 as well as UTF-16LE and UTF-16BE for little/big endian byte order. Pass hex or base64 to get text back encoded. |
UTF8 | Optional |
Returns text or error.
Created 21st December 2016, last changed 21st December 2016
SerialPort.ReadHex - SerialPort.Resume
Feedback: Report problem or ask question.