MDM2.getDSR()

This command gets Data Set Ready (DSR) from the AT command interface.

It has no input parameter.

The return value is a Python integer which is either 0 if DSR is set to OFF or 1 if DSR is set to ON.

 

Example:

 

dsr = MDM2.getDSR()

 

gets DSR from AT command handling, assigning the return value to dsr.