Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Checking the call status of the SIM800L module
int8_t Adafruit_FONA::checkCallStatus(void) {
uint16_t level;
if (! sendParseReply(F("AT+CPAS"), F("+CPAS: "), &level) ) return 0;
return level;
}
Owner
jenschr commented Sep 9, 2015

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment