Recent

Author Topic: Help with Calculation CRC16-CCITT  (Read 953 times)

crisares

  • Jr. Member
  • **
  • Posts: 63
Help with Calculation CRC16-CCITT
« on: July 29, 2020, 05:11:15 am »
Hi all

Some would be so kind as to help me with the calculation CRC16-CCITT that I should do to a 4 byte hexadecimal string. I found some examples but they are text strings and not a hexadecimal value. I don't have much experience and I couldn't make the modifications to achieve it.

From already thank you very much

process_1

  • Guest
Re: Help with Calculation CRC16-CCITT
« Reply #1 on: July 29, 2020, 06:10:40 am »
I'm not certain what is the problem, CRCs works on binary data and returns integer value,  in this case 16 bits. Then just convert it with inttohex().

Or attach minimalistic project code itself.

 

TinyPortal © 2005-2018