Created
September 9, 2015 10:31
-
-
Save jenschr/22e2f00272dcebb5ccf4 to your computer and use it in GitHub Desktop.
Checking the call status of the SIM800L module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int8_t Adafruit_FONA::checkCallStatus(void) { | |
uint16_t level; | |
if (! sendParseReply(F("AT+CPAS"), F("+CPAS: "), &level) ) return 0; | |
return level; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add the above to Adafruit_FONA.cpp and the below to the public section of Adafruit_FONA.h and you can check the progress of a call:
int8_t checkCallStatus(void);