MDM2.getCTS()

This command gets Clear to Send (CTS) from the AT command interface.

It has no input parameter.

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

 

Example:

 

cts = MDM2.getCTS()

 

gets CTS from AT command handling, assigning the return value to cts.