vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.91k stars 708 forks source link

Problem getting GPS location Sim800L #754

Open elkimaMariem opened 9 months ago

elkimaMariem commented 9 months ago

[x ] I have read the Troubleshooting section of the ReadMe

What type of issues is this?

[ ] Request to support a new module

[ ] Bug or problem compiling the library [ ] Bug or issue with library functionality (ie, sending data over TCP/IP) [x ] Question or request for help

What are you working with?

Modem: Sim800L / LilyGo Main processor board: ESP32

Scenario, steps to reproduce

Im trying to get GPS location from Sim800L. I used : modem.getGsmLocation();

Expected result

Expected result : Latitude, Longitude, Date

Actual result

“0,0.000000,0.000000,2023/10/02,12:37:17”

Found this online: This should be “location code, longitude, latitude, date, time”. The location code, longitude and latitude are all zero. The date and time are correct (useful if you need that information!).

End result: This does not work due to Google stopping this service sometime in 2020.