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

Fix cardinal points in location by gps for sim7600 #738

Closed Juxn3 closed 1 month ago

Juxn3 commented 11 months ago

In the sim7600 modem, when the location is being obtained recurrently from the second iteration, it does not process the cardinal points correctly. Fix cardinal points in location by gps for modem sim7600

https://github.com/vshymanskyy/TinyGSM/issues/566

https://github.com/vshymanskyy/TinyGSM/issues/641

imorda commented 11 months ago

You might want to check the #736. There is a trouble in gps parser so it expects some extra delimeters not compliant with the protocol, that might be the actual reason for the inconsistency you experience here

jorisvervuurt commented 4 months ago

You might want to check the #736. There is a trouble in gps parser so it expects some extra delimeters not compliant with the protocol, that might be the actual reason for the inconsistency you experience here

I have just confirmed that this in fact is not related to #736. stream.read() somehow does not return the actual character. The solution to use stream.readStringUntil(',').charAt(0) does fix the problem.