|
Post by rrrrpa on Mar 25, 2024 23:00:56 GMT
For an unknown reason modem.getTime(timeBuffer, 23); // make sure replyBuffer is at least 23 bytes! has stopped working. It was operational for several weeks, then one day when I reloaded my application sketch it quit. I have tried everything I know to reset the SIM7000A. I have also uploaded the LTE_Demo code and it too has the problem. I thought that maybe the cell tower has a problem so I went to a distant location and it still behaves the same on a different tower. Then I went to another location that is ROAMING (ATT) and it too has the problem. The typical reply is:
15:52:15.416 -> Requesting Network Info
15:52:15.535 -> Sys Info --->+CPSI: LTE CAT-M1,Online,310-260,0x411F,21294086,47,EUTRAN-BAND12,5035,2,2,-9,-84,-61,15
15:52:15.633 -> Operator --->+COPS: 0,0,"T-Mobile",7
15:52:15.700 ->
15:52:15.700 -> Requesting Network Status
15:52:15.732 -> My Network status = 1 -> Registered (home)
15:52:15.764 ->
15:52:15.764 -> Requesting Network Strength / RSSI
15:52:15.834 -> RSSI = 26 -> -62 dBm
15:53:17.240 -> Requesting Network Time
15:53:17.306 -> Time = "80/01/24,02:10:53+00"
Any help will be appreciated.
|
|
|
Post by Botletics on Mar 27, 2024 12:53:27 GMT
Are you using modem.enableRTC(true); to enable time sync in setup()?
|
|
|
Post by rrrrpa on Mar 31, 2024 3:20:11 GMT
No, I was not. I used LTE_Demo as a model and it does not use it either and the demo WAS also working for the longest time. Is modem.enableRTC(true) absolutely required? If yes, why were both sketches working for many weeks?
I added modem.enableRTC(true); to setup. Now I'm even more baffled! My sketch executes modem.getTime(timeBuffer, 23); about every 60-seconds. Initially modem.getTime(timeBuffer, 23); did not work. Then, 58-minutes after loading the updated sketch it started working!!!!! What can possibly be going on?
18:33:39.782 -> Initializing....(May take several seconds) 18:33:47.257 -> Configuring to 9600 baud 18:33:48.405 -> Found a modem 18:33:48.405 -> Modem is OK 18:33:48.437 -> Found SIM7000 18:33:48.469 -> Module IMEI: 865235033194750
19:29:51.881 -> Beginning Every 1-Minute Processing ********************************** 19:29:52.029 -> Sys Info --->+CPSI: LTE CAT-M1,Online,310-260,0x411F,21294086,47,EUTRAN-BAND12,5035,2,2,-12,-86,-61,18 19:29:52.160 -> Operator --->+COPS: 0,0,"T-Mobile",7 19:29:52.233 -> My Network status = 1 -> Registered (home) 19:29:52.336 -> RSSI = 26 -> -62 dBm
19:29:52.499 -> Requesting Network Time 19:29:52.569 -> Time = "80/01/06,01:27:29+00"
19:31:35.182 -> Beginning Every 1-Minute Processing ********************************** 19:31:35.334 -> Sys Info --->+CPSI: LTE CAT-M1,Online,310-260,0x411F,21294086,47,EUTRAN-BAND12,5035,2,2,-8,-85,-64,18 19:31:35.473 -> Operator --->+COPS: 0,0,"T-Mobile",7 19:31:35.551 -> My Network status = 1 -> Registered (home) 19:31:35.627 -> RSSI = 26 -> -62 dBm
19:31:35.792 -> Requesting Network Time 19:31:35.863 -> Time = "24/03/30,19:31:34-28"
|
|