MDM.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 OFF or 1 if DSR is ON.

 

Example:

 

dsr = MDM.getDSR()

 

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