New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a CRC Protocol #512

Closed
ryanatball opened this Issue Jul 7, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@ryanatball
Member

ryanatball commented Jul 7, 2017

Create a protocol that will:
Fill a named CRC field, or append a crc to the raw data on write
Verify a CRC field, and optionally strip it on read
Support dropping a packet with bad CRC with a log message, or disconnecting the interface on bad CRC

Something like:
PROTOCOL READ_WRITE CrcProtocol <ItemNameToFill> <CRC bit offset> <CRC Bit size> <CRC Poly> <CRC Seed> <CRC XOR> <CRC Reflect> <AppendRemoveCRC> <BadCRCStrategy>

@ryanatball ryanatball added the feature label Jul 7, 2017

@jasonatball jasonatball self-assigned this Aug 1, 2017

@jasonatball jasonatball closed this in #522 Aug 3, 2017

@ryanatball ryanatball modified the milestone: v4.0.0 Aug 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment