Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPS data is not changing #15

Open
pesengineeringclub opened this issue May 16, 2018 · 2 comments
Open

GPS data is not changing #15

pesengineeringclub opened this issue May 16, 2018 · 2 comments

Comments

@pesengineeringclub
Copy link

Hi
First of all, thanks for the library. when we test it, the GPS data is not changing even we moving far away. Do you have any idea about the issue? thanks.

we use Seeeduino LoRaWAN W/GPS
https://www.seeedstudio.com/Seeeduino-LoRaWAN-W%2FGPS-p-2781.html

@philfleck
Copy link

+1

@RafaelReyesCarmona
Copy link

TinyGPS library works getting information from GPRMC and GPGGA sentences. It extract time, date, latitude, longitude, speed and course information from GPRMC sentence. And altitude, time, latitude, longitude, numbers of satellites in use and hdop information from GPGGA sentence.

The function bool TinyGPS::encode(char c) call to bool TinyGPS::term_complete() and return true when GPRMC or GPGGA sentence is decoded correctly. When use a loop like the picture, data could not update the information, it is mandatory and refresh function like above.

code_GPS_loop1

code_GPS_loop2

More info and how to correct it: https://github.com/RafaelReyesCarmona/TinyTrackGPS#tinygps-library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants