-
Notifications
You must be signed in to change notification settings - Fork 767
Description
I am having an issue with a SIM7600 module and the library version 0.12.0.
When the modem is connected it can retrieve the coordinates without any issue, but when it loses data connectivity, due to signal lost, the getGPS function returns repeatedly the last coordinates returned when it was connected.
The device log bellow shows the id, generated randomly when the data is collected, the coordinates, the time, and the battery level.
{"id":"a39e54bf","data":"2025-08-07T09:39:10","params":{"localizacao":[-40.34478,-20.21845],"nivel_bateria":96}}
{"id":"a97bfa85","data":"2025-08-07T09:39:10","params":{"localizacao":[-40.34478,-20.21845],"nivel_bateria":95}}
{"id":"fc6babec","data":"2025-08-07T09:39:10","params":{"localizacao":[-40.34478,-20.21845],"nivel_bateria":95}}
{"id":"327b93f2","data":"2025-08-07T09:39:10","params":{"localizacao":[-40.34478,-20.21845],"nivel_bateria":95}}
{"id":"b44dedb3","data":"2025-08-07T09:59:57","params":{"localizacao":[-40.32097,-20.11416],"nivel_bateria":95}}
The timestamp is retrieved from the GPS data, along with the coordinates.
It looks like the absence of de data connection is hanging the GPS in a locked state with a fixed possition and time and as soon as it reconnects, the values are ok again.
Do you have any idea how to fix this?