PyCRC-old /

Filename Size Date modified Message
CRCModules
tests
35.1 KB
1.7 KB
1.3 KB
PyCRC MODULES

----------------------
What is PyCRC?
----------------------

    This is an intended port to python for lib_crc library. It requires at least python 2.7.


----------------------
Version & Changelog
----------------------
    1.0 (oct 2011)    Initial launch


----------------------
How can it be used?
----------------------

    The CRC Modules are designed to be used separately (if you wanted for example to use
    only CRC16 you include only the specific file).

    Usage: 
        from CRCModules.CRC16SICK import CRC16SICK
        crcobj = CRC16SICK()
        res = crcobj.calculate("some string")
        print "{:10X}".format(res)

    Check provided pyCRC.py for a more detailed look.


----------------------
What CRC Modules are available?
----------------------

    CRC16           CRC16.py        for CRC16 and CRC16 Modbus
    CRC32           CRC32.py        for CRC32
    CRC16Kermit     CRC16Kermit.py  for CRC-CCITT (Kermit)
    CRC16SICK       CRC16SICK.py    for CRC16 (Sick)
    CRC16DNP        CRC16DNP.py     for CRC-DNP
    CRCCCITT        CRCCCITT.py     for CRC-CCITT (XModem), CRC-CCITT (0xFFFF) and CRC-CCITT (0x1D0F)


----------------------
Author
----------------------
    Cristian Năvălici (cristian.navalici@gmail.com)
     


----------------------
License
----------------------

    GNU GPLv3 as appear on http://www.gnu.org/licenses/gpl-3.0.txt

----------------------
Credits
----------------------
    go to Lammert Bies for his C Library (http://www.lammertbies.nl/download/lib_crc.zip)
    for online calculations (and more info): http://www.lammertbies.nl/comm/info/crc-calculation.html