MDM2.setDTR(DTR_value)

This command sets Data Terminal Ready (DTR) in the AT command interface.

The 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.

No return value.

 

Example:

 

MDM2.setDTR(0)

 

sets DTR to OFF in AT command handling.