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
1,054 views 2 comments
by
Hello

I have small problem with newest firmware of RUT955. I have tcp server running and my Rut955 is sending data over tcp

1.RUT give me IMEI. I'm answering by 1 in 1 byte.

2.Rut give me TCP with AVL data. I'm answering by 4 bytes 000X. Where X is quantity of data

3. RUT is giving me TCP with more AVL DATA. And again i'm answering like in point 2.

But after sometime i receive some Errors in gpsd like:

[Error    ] Sent packet size was not fully read
[Error    ] Failed to receive response to sent AVL packet from server
[Warning  ] Read returned an error, lost 35 bytes

1 Answer

0 votes
by anonymous
Hello,

With the latest RUT9xx firmware here how it works: OPEN SOCKET -> SEND IMEI -> GET 01 FROM SERVER | SEND AVL PACKETS -> GET RESPONSE OF HOW MUCH WAS SENT | in case of failure REOPEN SOCKET
by
So i have errors with second response?
by anonymous
It could be, please double check our AVL (codec 8) GPS protocol: https://wiki.teltonika.lt/view/RUT955_Protocols