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:
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
Statistic
FMM
Blog
SerialPort.GetDTR
Queries whether DTR (data-terminal-ready) flow control is used.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SerialPort | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "SerialPort.GetDTR"; PortReference ) More
Parameters
Parameter | Description | Example |
---|---|---|
PortReference | The reference number of the port. You get this number from SerialPort.Open when you open the port. | $port |
Result
Returns current value (0 or 1) or error message.
Description
Queries whether DTR (data-terminal-ready) flow control is used.See also
- SerialPort.GetDSR
- SerialPort.GetRTS
- SerialPort.GetTag
- SerialPort.GetXON
- SerialPort.Open
- SerialPort.SetDSR
- SerialPort.SetDTR
- SerialPort.SetRTS
- SerialPort.SetTag
- SerialPort.SetXON
Release notes
- Version 12.3
- Implemented SerialPort.GetCTS, SerialPort.GetDSR, SerialPort.GetDTR, SerialPort.GetRTS, SerialPort.SetCTS, SerialPort.SetDSR, SerialPort.SetDTR, and SerialPort.SetRTS for Linux.
Blog Entries
This function does not need a paid license.
Created 18th August 2014, last changed 30th May 2022
