Return State of DSR Line

dsr, flow = serial.getdsr(portn)

Parameter Type Description
portn integer Port number 1-4
Returns Type Description
dsr integer 1 = asserted; 0 = unasserted
flow integer 1 = TX flow control; 0 = no flow