Merge branch 'original'

This commit is contained in:
Sara Damiano
2018-09-05 17:42:03 -04:00
19 changed files with 78 additions and 12 deletions

View File

@@ -13,6 +13,8 @@
#define TINY_GSM_MODEM_SIM800
// #define TINY_GSM_MODEM_SIM808
// #define TINY_GSM_MODEM_SIM900
// #define TINY_GSM_MODEM_UBLOX
// #define TINY_GSM_MODEM_BG96
// #define TINY_GSM_MODEM_A6
// #define TINY_GSM_MODEM_A7
// #define TINY_GSM_MODEM_M590
@@ -123,7 +125,8 @@ void loop() {
}
#endif
bool res;
bool res = modem.isGprsConnected();
DBG("GPRS status:", res ? "connected" : "not connected");
String ccid = modem.getSimCCID();
DBG("CCID:", ccid);