Allow bigger lat/lng numbers in RMC message
It works now with following message:
$GPRMC,122536.0,A,4350.237769,N,01826.423315
Signed-off-by: Petr Štetiar <[email protected]>
Show more useful error message if we can't open GPS device
Signed-off-by: Petr Štetiar <[email protected]>
Fix typo in error message
Signed-off-by: Petr Štetiar <[email protected]>
Use strsep for NMEA message tokenization
strtok doesn't parse correctly following message:
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
Resulting in "datagram has wrong parameter count".
Signed-off-by: Petr Štetiar <[email protected]>
Bail out if we can't find GPS device
Signed-off-by: Petr Štetiar <[email protected]>
Switch to ulog for logging and add few commandline params
Signed-off-by: Petr Štetiar <[email protected]>
cmake: Add proper library and include files search logic for dependecies
Signed-off-by: Petr Štetiar <[email protected]>
lat/lng format when printing is incorrect
Signed-off-by: Maurice-Jörg Nießen <[email protected]>