CRC16 Code for ARM and x86 (python)
Posted: Tue Mar 17, 2015 8:47 am
From one of our developers (consider this version 1):
The instructions below work great on both ARM and x86.
To use it, drop both files into your directory and call:
which will generate the ekmcrc.so library.
In the python code
And then call
All the usual caveats apply: gcc and python-devel need to be installed. Should work on any standard linux distro.
Here is a link to the files: https://www.dropbox.com/sh/9wounarabxyh ... o4dQa?dl=0
The instructions below work great on both ARM and x86.
To use it, drop both files into your directory and call:
Code: Select all
python setup.py build_ext -inplace
In the python code
Code: Select all
import ekmcrc
Code: Select all
my_crc_as_hex_string_crc = ekmcrc.ekmcrc(my_data_string)
Here is a link to the files: https://www.dropbox.com/sh/9wounarabxyh ... o4dQa?dl=0