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,504 views 8 comments
by anonymous
I am trying to access the GPS NMEA data(GPGGA) on my RUT955 but I am not sure how to do it.

My end goal would be to read the data via an IP Address and Port so I can use the data in our Program for positioning.

1 Answer

0 votes
by anonymous

Hello,

In RUT955 WebUI going to Services > GPS > NMEA allows you to configure NMEA data forwarding like Host, Port and Protocol used to forward sellected NMEA data to another device. After configuring receiving end with respective parameters you should be able to get the data. you can read more about configuration in wiki page: https://wiki.teltonika.lt/view/RUT955_GPS#NMEA_forwarding

If it does not work after that, it would be nice if you could provide configuration examples on both sides and/or routers troubleshoot file.

Regards,
VidasKac.

by anonymous

I have setup my Router 192.168.1.1 and below are the GPS settings. 

How do I connect a terminal program to connect to the router to get the data as I need it to be output as an ASCII string so I can read it on our Software. 

My Host PC is connected to the router via RJ45 LAN cable and has a static IP of 192.168.1.77
 

The terminal program connects to an IP and Port to read the data being output, I can do this to connect to the RS232 on the device.

Where would you like the Config backup sent to?

by anonymous
Hello,

Could you also post yours config on yours terminal program on yours PC?

Regards,
VidasKac
by anonymous

There is nothing to post as I do not know what address I need to point the Terminal Program to.

For the RS232 I put in the router address and then I call the port number I have setup and hit connect. (192.168.1.1:10232). 

Attached is a screenshot of the terminal program connected to the RUT955 with an externalGPS attached to the RS232 Port.

by anonymous

Here is the image of the connection Info 

by anonymous
https://wiki.teltonika.lt/view/RUT955_Protocols

Its a really good read, gives you the byte breakdowns etc
by anonymous
@Justin Burnett The issue is I cannot get any data string from the RUT955 to decode it.
by anonymous

Hello,

Since RUT955 sends NMEA data over IP/Hostname you can't directly read that over serial port, BUT there is workaround for this problem:

Services > GPS > NMEA configuration:

Enabled: [v]
Hostname: [<routers own IP>, e.g. 192.168.1.1]
Port: [Port of yours choice]
Protocol: [TCP/UDP] *doesnt really matter just choose the same everywhere

NMEA sentence settings: choose what you need



 

Services > RS232/RS485 RS232 tab settings:

Enabled: [v]
Baud rate / Data bits / Parity / Stop bits / Flow control: [choose what you need or leave on default]

Serial type: [Over IP]
Protocol: [Same as GPS settings]
Mode: [Server]
TCP Port: [Same as in GPS settings]
 

After configuring that, connect your console with RS232 through correct COM port and Baud rate, and you should see GPS data flow in yours terminal.

Basically what you do is: Make router transmit GPS data to server, which is same router, and then make server transmit received data to Serial port.

Best regards,
VidasKac. 

by anonymous
That last suggestion worked, however I had to resend the Transmit back into the Receive of the RS232 so I can read it via a IP address and port number. Thanks for the help