FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE
Ask a question

3964 questions

4513 answers

3333 comments

50794 members

Ask a question
0 votes
2 views
ago in Vehicle tracking by

I am implementing a server which implements TCP/TLS communication. According to Codec 8 specification the preamble is composed by a short (two bytes) indicationg the length of the IMEI, followed by the IMEI itself.

I noted the swap of first two bytes containing the IMEI length in case of encryption enabled/disabled. The following pictures report the received buffer in the two situations.

Encryption NOT enabled

Encryption enabled

Is this a known issue? Is this related to endianess of the short indicating the IMEI length?

Please log in or register to answer this question.