|
@ -63,6 +63,7 @@ void setup() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void loop() { |
|
|
void loop() { |
|
|
|
|
|
|
|
|
// Restart takes quite some time
|
|
|
// Restart takes quite some time
|
|
|
// To skip it, call init() instead of restart()
|
|
|
// To skip it, call init() instead of restart()
|
|
|
DBG("Initializing modem..."); |
|
|
DBG("Initializing modem..."); |
|
@ -133,6 +134,8 @@ void loop() { |
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
|
|
|
#ifdef CALL_TARGET
|
|
|
#ifdef CALL_TARGET
|
|
|
|
|
|
DBG("Calling:", CALL_TARGET); |
|
|
|
|
|
|
|
|
// This is NOT supported on M590
|
|
|
// This is NOT supported on M590
|
|
|
res = modem.callNumber(CALL_TARGET); |
|
|
res = modem.callNumber(CALL_TARGET); |
|
|
DBG("Call:", res ? "OK" : "fail"); |
|
|
DBG("Call:", res ? "OK" : "fail"); |
|
|