libgps icon indicating copy to clipboard operation
libgps copied to clipboard

the compiled gps18x code doesn't run for the first time!

Open robyspace opened this issue 8 years ago • 1 comments

Hey,

Thanks for this awesome library for gps18x. It has greatly helped with my project development. However there is one issue. With the provided position_logger example or my own gps code, the compiled 'C' program terminates itself almost immediately while running from linux terminal. when it runs the second or third or subsequent times, it is running well and getting the gps co-ordinates. I am not able to isolate the behavior causing the error. Can you please help me with this as I need to run my project at startup and everytime my code terminates because of this issue. Thanks!!

Robert

robyspace avatar Jul 12 '17 06:07 robyspace

Hi,

maybe it is a bug of this project (libgps). Reviewing my code i suppose that the UART communication is always at the beginning of line but effetively if i receive a portion o NMEA string the program crashes...

There is bug fix to apply on this project. I doesn't have so much time now. If you fix the library please submit a PR.

Bests

wdalmut avatar Jul 13 '17 20:07 wdalmut