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
5,244 views
in Vehicle tracking by anonymous

Hi,

Could you please provide documentation about CRC-16-IBM algorithm, including reverse lookup table.

current implementation I have is based on https://os.mbed.com/users/hudakz/code/CRC16//file/3f5622979e77/CRC16.cpp/

Best regards.

1 Answer

+1 vote
by anonymous

Hello fmanzano85,

Good day. Thank you for the question.

The algorithm on how to calculate CRC-16 (also known as CRC-16/IBM) can be found here - https://wiki.teltonika-gps.com/view/Codec#CRC-16

However, we do not have a reverse lookup table as data length/size and data sent is always different, which is why the CRC will also be different. From the server side, what you will need to do is calculate the CRC according to the algorithm and compare it with the device sent CRC, if they match then the data is correct.

Please let me know if this helps.

Kind regards.

Best answer
by anonymous
Thank you so much for the answer..
by anonymous
Does anyone have a C# implementation of this?