MDM2.getRI()

This command gets Ring Indicator (RI) from the AT command interface.

It has no input parameter.

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

 

Example:

 

ri = MDM2.getRI()

 

gets RI from AT command handling, assigning the return value to ri.