Ask a question

3590 questions

4090 answers

3024 comments

34732 members

Ask a question
0 votes
315 views
in Vehicle tracking by
Hi,

What is the correct or best way of decoding device IMEI code?

Hex value of the code is 383637303335303432383831323930 and actual IMEI is 867035042881290. If remove every second character from hex code, which in this is case is "3" then I'll get the IMEI code but I think there are better ways of doing this.

If I just convert it to decimal value, I wont get the correct code, unlike I'm getting with every other value in messages that device sends.

1 Answer

0 votes
by

Hello,

In order to convert IMEI from hex format to the original number, you have to convert it using hex to ASCII conversion.

Please refer to the red box in this ASCII Table.

Best Regards,

Mahmoud A.M Khalil

Best answer
by
Thanks Mahmoud!