subscribe to our Youtube


14455 questions

17168 answers


0 members

We are migrating to our new platform at Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
1,463 views 1 comments


I'm writing an internal C/C++ app to RUT955 and it needs to read the GNSS fix continuously with as little delay as possible (real-time tracking).

I have read this answer:

I've already managed to make a "proof of concept" version reading NMEA from /dev/gps directly, but it indeed steals the data from gpsd daemon. (I suppose I could reassign symlinks and "tee" the port, but I wouldn't want to go there.)

Regarding the other methods, I'm guessing using gpsctl command and parsing its output isn't very fast. Using the Teltonika proprietary server protocol internally seems unnecessarily complicated and maybe not very fast either.

I'm thinking the best and "correct" method would be using standard libgps functions which talk to gpsd, but it seems to me that it is not included in the SDK (or some other/proprietary version of the library with the same name is included)? The gps.h source looks different from anything I can find on the Internet and it does not have the "standard" libgps functions:

Is it supposed to be included?

Maybe related: I am not able to compile the firmware 00.06.02 using the SDK. Make stops at an error at libgps (gps.c is missing). Also there is no gpsd / libgps option in make menuconfig.

I also have problem with compiling version 00.06.02... libgps stop compiling with error. To compile this library you need to open libgps/src make file and wipe gps.c string on it, because this file not exists and as i understand not needed...gps.o enough

2 Answers

0 votes
by anonymous

Teltonika cannot give out its GPS source.

gpsd ir libgps are written by Teltonika, that's why you can't find the .c files.
0 votes

Parsing the gpsctl command (with PStreams libary) works pretty fine and is fast enough. I can do real time tracking with that method without any problems.