GPIO.getAXE()

This method gets the hands free status value. It is equivalent to the AT#AXE command.

It has no input parameter.

The return value is a Python integer that is either 0 if a hand free is not connected or 1 if a hand free is connected.

 

Example:

 

hf = GPIO.getAXE()

 

gets the AXE value, assigning the return value to hf.

Note: For version 18.11.004 this method has no effect.