8 mdm.getcts(), 9 mdm.getdsr(), 10 mdm.getri() – Rainbow Electronics GM862-GPS User Manual
Page 23: 11 mdm.setrts(rts_value)

Easy Script
in Python
80000ST10020a Rev.8 - 01/10/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 23 of 100
2.2.8 MDM.getCTS()
This command gets Clear to Send (CTS) from AT command interface. it has no input parameter.
Return value is a Python integer which is 0 if CTS is set to OFF or 1 if CTS is set to ON.
Example:
cts = MDM.getCTS()
gets CTS from AT command handling, assigning return value to cts.
2.2.9 MDM.getDSR()
This command gets Data Set Ready (DSR) from AT command interface. It has no input parameter.
Return value is a Python integer which is 0 if DSR is OFF or 1 if DSR is ON.
Example:
dsr = MDM.getDSR()
gets DSR from AT command handling, assigning return value to dsr.
2.2.10 MDM.getRI()
This command gets Ring Indicator (RI) from AT command interface. It has no input parameter.
Return value is a Python integer which is 0 if RI is set to OFF or 1 if RI is set to ON.
Example:
ri = MDM.getRI()
gets RI from AT command handling, assigning return value to ri.
2.2.11 MDM.setRTS(RTS_value)
This command sets Request to Send (RTS) in AT command interface. Input parameter RTS_value is
a Python integer which is 0 if setting RTS to OFF or 1 if setting RTS to ON.
No return value.
Example:
MDM.setRTS(1)
sets RTS to ON in AT command handling.