vshymanskyy / TinyGSM

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

Location not accurate, but nearby #586

Closed sixtybi closed 2 years ago

sixtybi commented 3 years 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 [X] Bug or issue with library functionality (ie, sending data over TCP/IP) [ ] Question or request for help

What are you working with?

Modem: SIM800L R14.18

Main processor board: ESP32 TinyGSM version: 0.11.3 Code: modem.getGsmLocation(&lat, &lon, &accuracy, &year, &month, &day, &hour, &min, &sec)

My problem is that the received location is, however nearby, very inaccurate. Few km away in most cases. I tried to use 3 cell location method, but I haven't received any location using that method.

Debug and AT command log

AT+CIPSTATUS=0

+CIPSTATUS: 0,0,"TCP","139.59.206.133","80","CONNECTED"

OK Checking location AT+CLBS=4,1

+CLBS: 0,18.616992,47.235787,550,21/09/12,17:23:26

OK AT+CIPRXGET=4,0

+CIPRXGET: 4,0,0

OK AT+CIPSTATUS=0

+CIPSTATUS: 0,0,"TCP","139.59.206.133","80","CONNECTED"

OK AT+CIPSEND=0,21

Humancell commented 3 years ago

This has nothing to do with the library. It is what is being returned by the modem, from the carrier. GSM Location by tower triangulation is really going to vary in accuracy based on your location.

SRGDamia1 commented 2 years ago

@sixtybi - Can I close this issue?

sixtybi commented 2 years ago

Yes, thank you.

On Wed, 24 Nov 2021, 16:58 Sara Damiano, @.***> wrote:

@sixtybi https://github.com/sixtybi - Can I close this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/586#issuecomment-978009930, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYUUODNPQJASCRU7ORCXC3UNUDTTANCNFSM5D4RAO6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.