beautypg.com

12 mdm2.setdtr(dtr_value) – Rainbow Electronics GM862-GPS User Manual

Page 29

background image





Easy Script

in Python

80000ST10020a Rev.8 - 01/10/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 29 of 100

MDM2.setRTS(1)

sets RTS to ON in AT command handling.

2.3.12 MDM2.setDTR(DTR_value)


This command sets Data Terminal Ready (DTR) in AT command interface. Input parameter
DTR_value is a Python integer which is 0 if setting DTR to set to OFF or 1 if setting DTR to set to ON.
It has no return value.

Example:

MDM2.setDTR(0)

sets DTR to OFF in AT command handling.