FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE
Ask a question

3844 questions

4379 answers

3252 comments

46074 members

Ask a question
0 votes
475 views
in Vehicle tracking by

Hi everyone, I am using a Python script to capture the information sent by my teltonika FMC560

I receive the imei code of the device, once I have received the imei code I reply the device with the command: conn.send ('\ x01')

sent the answer the device gives me back all the available information

the problem is here:

once I have received the information from the device, I have to send a second response to the device with the following command: conn.send ('00000015'. encode ('utf-8')) but this response is never received by my device

in fact in Teltonika Configurator Send Records Count is always 0.

how should i do?

thank you so much

attached the python script I am using:

https://www.dropbox.com/s/0pjyzb89urmxcmg/tel_socket.py?dl=0

by

I have Python script, which parse first service bytes of message to detect packet length, codec and count of records in Data array. And... i have 2 prolem:

  1. I have packet, with information about 50 records. But in packet i can detect only first GPS element data.
  2. Tracker always send same one packet. When i send response with 4 bytes it not change situation.

1 Answer

0 votes
by
Hello Giordanosoftware,

Good day. Thank you for your question.

The answer that you send should also be in Hex as Hex string. Also, refer to the data sending protocols here - https://wiki.teltonika-gps.com/view/Codec

Please try this out and let me know if it helps.

Kind regards.
Best answer
by
perfect thank you very much