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

Turned on CRC16 and CRC32 Computation #11

Merged
merged 2 commits into from
Jun 23, 2023
Merged

Turned on CRC16 and CRC32 Computation #11

merged 2 commits into from
Jun 23, 2023

Conversation

emrainey
Copy link
Collaborator

Now CRC16-CCITT-FALSE and CRC32-C (for single packets) mismatch will
now show Expert Info.

Now CRC16-CCITT-FALSE and CRC32-C (for single packets) mismatch will
now show Expert Info.
@emrainey emrainey requested a review from thirtytwobits June 20, 2023 16:08
@emrainey emrainey self-assigned this Jun 20, 2023
@thirtytwobits
Copy link
Member

@pavel-kirienko : can you take a look?

@emrainey emrainey added the enhancement New feature or request label Jun 21, 2023
Copy link
Member

@pavel-kirienko pavel-kirienko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not very proficient with moonspeak and Wireshark, so the utility of my review is limited. Protocol-wise, I don't see any shortcomings so far (except for the lack of CRC check for multi-frame transfers, but this has already been discussed).

I think this module could use some tests, at least to validate the CRC implementations. Reference inputs and outputs are given in the Cyphal spec in the annex; you've probably seen that.

cyphal_udp.lua Outdated Show resolved Hide resolved
Co-authored-by: Pavel Kirienko <[email protected]>
@emrainey emrainey merged commit ce45bf2 into main Jun 23, 2023
@pavel-kirienko pavel-kirienko deleted the emrainey/issue7 branch August 25, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants