Telit EZ10-GPRS/-PCS
Product Description
80269ST10014a, Rev. 3 – 26/09/05
Reproduction forbidden without written authorization by Telit Communications S.p.A.
Page 46 of 74
All Rights reserved – Right of modification reserved
3.3.5.1.6 MDM.readbyte()
Receives a byte from AT command interface without waiting for it. Request to Send (RTS) is set to
ON.
No input parameter.
Return value is a Python integer which is -1 if no data received otherwise is the byte value
received. It can be zero.
Example:
b = MDM.readbyte()
receives a byte from AT command handling, assigning return value to b.
3.3.5.1.7 MDM.getDCD()
Gets Carrier Detect (DCD) from AT command interface.
No input parameter.
Return value is a Python integer which is 0 if DCD is OFF or 1 if DCD is ON.
Example:
cd = MDM.getDCD()
gets DCD from AT command handling, assigning return value to cd.
3.3.5.1.8 MDM.getCTS()
Gets Clear to Send (CTS) from AT command interface.
No input parameter.
Return value is a Python integer which is 0 if CTS is OFF or 1 if CTS is ON.
Example:
cts = MDM.getCTS()
gets CTS from AT command handling, assigning return value to cts.
3.3.5.1.9 MDM.getDSR()
Gets Data Set Ready (DSR) from AT command interface.
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.
3.3.5.1.10 MDM.getRI()
Gets Ring Indicator (RI) from AT command interface.
No input parameter.
Return value is a Python integer which is 0 if RI is OFF or 1 if RI is ON.
Example:
ri = MDM.getRI()
gets RI from AT command handling, assigning return value to ri.
3.3.5.1.11 MDM.setRTS()
Sets Request to Send (RTS) in AT command interface.