FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 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
561 views
in Vehicle tracking by

Hi! I have gps tracker which send data to server by Codec 8. https://wiki.teltonika-networks.com/view/VCode#Codec_8

I wrote python script which authentificate my tracker and receive packet. From this packet i can catch codec (its 08), count of record, timestamp of first message, lat lng of first message.

But i have 2 problem:

1. When I send response with four byte count of received packets... nothing happen. Tracker always send same packet.

2. I don`t understand how i can parse next packet from this message. Documentation manual not show right algorythm.

I get script from another thread:

https://community.teltonika-gps.com/4965/how-to-read-data-from-teltonika-fmb001-with-a-python-script

And this is my message:

b'\x00\x00\x00\x00\x00\x00\x06\xd9\x082\x00\x00\x00\xe5\xd2\x00a\x18\x00\x12@A\xa7\x1e\x035,\x00R\x00\xa8\t\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x01O`\x00\x12@A\x96\x1e\x035<\x00R\x00\xa8\x08\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x029\xc0\x00\x12@Ad\x1e\x035<\x00Q\x00\xa8\x08\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x03(\x08\x00\x12@Au\x1e\x035^\x00Q\x00\xa8\x08\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x04\x12h\x00\x12@A\x86\x1e\x035\x90\x00Q\x00\xa8\t\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x05\x00\xb0\x00\x12@AC\x1e\x035\xd2\x00Q\x00\xa8\t\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x05\xeb\x10\x00\x12@A\x00\x1e\x036\x15\x00Q\x00\xa8\n\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x06\xd9X\x00\x12@@\xdf\x1e\x036X\x00R\x00\xa8\t\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x07\xc3\xb8\x00\x12@@\x9c\x1e\x036\x8a\x00R\x00\xa8\n\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x08\xb2\x00\x00\x12@@\xad\x1e\x036y\x00R\x00\xa8\t\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\t\x9c`\x00\x12@@\xf0\x1e\x0366\x00R\x00\xa8\t\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\n\x86\xc0\x00\x12@A\x11\x1e\x036\x15\x00R\x00\xa8\t\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x0bu\x08\x00\x12@A"\x1e\x036\x04\x00S\x00\xa8\t\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\x0c_h\x00\x12@@\xf0\x1e\x036\x15\x00S\x00\xa8\x08\x00\x00\x00\x02\x01\xf0\x00\x01B2\x00\x00\x00\x00\x00\x00\xe5\xd2\rM\xb0\x00\x12@@'

What help i need: Need more information about packet parsing, visual view of alogorythm, may be you have correct script in any other programming language?

1 Answer

0 votes
by anonymous
Hello

What protocol is using your device (TCP/UDP) ?