Hello there,
Good day. Thank you for the question.
For the calculation, you may use this link https://www.scadacore.com/tools/programming-calculators/online-checksum-calculator/
Referring the short note in Wiki - CRC-16 – calculated from Codec ID to the Command Quantity 2. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM.
Therefore taking the example provided above, from Codec ID to the Command Quantity 2 it will be 0C01050000000B7365746469676F7574203101.
When we put this value in the calculator and analyze it , answer - setdigout 1
Next, we will need to check the calculation using CRC-16/IBM, the implementation is Reversed 0xA001, Little Endian (DCBA). Therefore, the value for CRC-16 is 00 00 87 A2.
Please go through this and let me know if it helps.
Kind regards.