[fpc-pascal] Calculating CRC16?
Fabio Luis Girardi
fluisgirardi at gmail.com
Tue Oct 25 13:58:44 CEST 2022
To array of bytes, check this:
https://github.com/fluisgirardi/pascalscada_v0/blob/master/src/scada/crc16utils.pas
There are two routines: one to calculate, another to check if crc16 matches.
Em ter., 25 de out. de 2022 às 08:13, Giuliano Colla via fpc-pascal <
fpc-pascal at lists.freepascal.org> escreveu:
> Il 25/10/22 09:58, Marco Borsari via fpc-pascal ha scritto:
> > On Tue, 25 Oct 2022 08:30:19 +0200
> > Bo Berglund via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> >
> >> Is there some package or code available somewhere which can calculate
> the CRC16
> >> value over a byte array of some 1000 bytes?
> > http://www.retroarchive.org/swag/CRC/index.html
> >
> Maybe you'll find this implementation more efficient:
>
> https://gist.github.com/prof7bit/7fc558626f94bd8a81b7
>
> Giuliano
>
> --
> Do not do to others as you would have them do to you.They might have
> different tastes.
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
--
The best regards,
Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20221025/6a50155a/attachment.htm>
More information about the fpc-pascal
mailing list