Utility fot CRC16 calculation anywhere?

Bo Berglund bo.berglund at gmail.com
Wed Nov 2 11:03:34 UTC 2022


On Sat, 29 Oct 2022 14:06:30 -0400, william <william at TechServSys.com> wrote:

>On 10/24/2022 6:04 PM, Bo Berglund wrote:
>> I have been looking for a crc16 utility which could work like cksum does for
>> files. Chksum seems to do a much wider CRC than 2 bytes.
>> 
>> But I have not found anything except a number of references to tlc, which is not
>> what I need. I need to check CRC16 for some binary data files during development
>> of a small IoT system. The CRC from the other side is CRC16 so this is what I
>> must use to check.
>> 
>> Is there not a utility in Linux itself to do such a calculation on a file?
>> 
>> 
>https://stackoverflow.com/questions/14018508/how-to-calculate-crc16-in-php

Can PHP commands be run on the Linux command line????
I thought that PHP is a webserver thingie...

If so how can I go about it and make a PHP command that can execute on the
Ubuntu server command line?
Example please...


-- 
Bo Berglund
Developer in Sweden




More information about the ubuntu-users mailing list