Ashet OS

async_call: ashet.io.serial.query_control

Documentation

Reads all control lanes of the serial port.

Inputs

port: io.serial.SerialPort

Outputs

dtr: bool

Data Terminal Ready

dcd: bool

Data Carrier Detect

dsr: bool

Data Set Ready

ring: bool

Ring Indicator

rts: bool

Request To Send

Note:

This is also called RTR when used for modern hardware control flow.

cts: bool

Clear To Send

Errors

InvalidHandle
Unsupported

The serial port does not support control flow lanes.