FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
2,498 views 1 comments
by
How can I easilty get the current latitude and longitude from the RUT955 to another service running on the LAN network? I tried using te getcord endpoint, but needed authorization, and I'd like to do it without authorization very simple.

Thanks in advance.
by
Any API for it etc.?

1 Answer

0 votes
by anonymous

Hello,

You can use the gpsctl command:

gpsctl -i for latitude
gpsctl -x for longitude

You can execute the commands via any command line interface: https://wiki.teltonika.lt/index.php?title=Command_line_interfaces

How you send/receive the values will depend on your system. If you want to do it without authorization, you can set up RSA key authentication between the machines. We have guides on how to do this in our Wiki:

https://wiki.teltonika.lt/index.php?title=SSH_RSA_key_authentication_(Linux)
https://wiki.teltonika.lt/index.php?title=SSH_RSA_key_authentication_(Windows)

EDIT:

Sorry, I didn't notice that the title said "HTTP REQUEST".

There is currently no way to get GPS coordinates via HTTP POST/GET. Maybe JSON-RPC would help?

https://wiki.teltonika.lt/index.php?title=Monitoring_via_JSON-RPC

Best answer