From c945d7abc320727d069859edb21766c685b9e337 Mon Sep 17 00:00:00 2001 From: garanovich Date: Thu, 15 Apr 2021 15:18:17 +0300 Subject: [PATCH] Update Arduino_GPSTest.ino With no delay there can be a problem when modem not correctly switched on and in the state <0> like this: AT+CGNSINF +CGNSINF: 0,,,,,,,,,,,,,,,,,,,, --- examples/Arduino_GPSTest/Arduino_GPSTest.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/Arduino_GPSTest/Arduino_GPSTest.ino b/examples/Arduino_GPSTest/Arduino_GPSTest.ino index 868a673..05ce6ca 100644 --- a/examples/Arduino_GPSTest/Arduino_GPSTest.ino +++ b/examples/Arduino_GPSTest/Arduino_GPSTest.ino @@ -55,6 +55,7 @@ void enableGPS(void) // CMD:AT+SGPIO=0,4,1,1 // Only in version 20200415 is there a function to control GPS power modem.sendAT("+SGPIO=0,4,1,1"); + delay(1000);//wait until it get up completely modem.enableGPS();