Skip to content
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
ghost opened this issue Jul 7, 2017 · 0 comments · Fixed by #522
Closed

Create a CRC Protocol #512

ghost opened this issue Jul 7, 2017 · 0 comments · Fixed by #522
Labels
Milestone

Comments

@ghost
Copy link

ghost 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>

@ghost ghost added the feature label Jul 7, 2017
@ghost ghost self-assigned this Aug 1, 2017
@ghost ghost mentioned this issue Aug 2, 2017
@ghost ghost closed this as completed in #522 Aug 3, 2017
@ghost ghost modified the milestone: v4.0.0 Aug 4, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants