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
715 views
in Vehicle tracking by anonymous

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 anonymous

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 anonymous
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 anonymous
perfect thank you very much