Hi,
I am trying to get CRC calculation value, based on CODEC_12 Protocol Description (page 9)
Server command
Hexadecimal stream:
00000000000000180C0105000000102347455420444154414F524445520D0A0100004990
Parsed:
Preamble: 0x00000000
Packet Length: 0x00000018
Codec: 0x0C
Quantity of commands: 0x01
Command type: 0x05
Command size: 0x00000010
Command in ASCII after conversion: #GET DATAORDER<CR><LF>
Quantity of commands: 0x01
CRC: 0x00004990 ---> I want to get this value
on page 6, says:
The algorithm to calculate CRC is CRC-16 (also known as CRC-16-IBM). All the fields from codec ID to second command/response quantity field are used to calculate CRC
so in my case I should use the following:
0C0105000000102347455420444154414F524445520D0A01
I try to get the CRC value from http://www.tahapaksu.com/crc/
but why the result is different
from the manual: CRC: 0x00004990
from http://www.tahapaksu.com/crc/ CRC: 0xF58D
What I missed?