Ask a question

2070 questions

2424 answers

2008 comments

5420 members

Ask a question
0 votes
19 views
in Vehicle tracking by

Hello,

How can I determine the device IMEI when receive the data,

I have to determine the IMEI for saving data correctly in the DB, I already check at https://wiki.teltonika-gps.com/view/Codec , but no info for this case.

I am getting the IMEI from the first packet, then my response to get data, but when get the data after that it's coming without IMEI, so I can't determine the device that I should save the parsed data for it.

FYI, I have 28 protocol are sending data for the same socket and each one return the IMEI with packet, that what letting me determine each device and link the data with it after parsing.

1 Answer

0 votes
ago by
Hello.

AVL data packet does not contain device IMEI when using TCP protocol.

If you need IMEI to be included in each data packet please use UDP protocol.

Regards