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

how to use the utils.calculate_crc() #177

Open
huanhuangongzi opened this issue Dec 18, 2022 · 1 comment
Open

how to use the utils.calculate_crc() #177

huanhuangongzi opened this issue Dec 18, 2022 · 1 comment

Comments

@huanhuangongzi
Copy link

may be in this way: utils.calculate_crc((1, 2, 0, 1)),but the result is not correct.

@enev13
Copy link
Contributor

enev13 commented Apr 18, 2023

It is correct but the bytes are swapped. With the input you provide the function returns 0x61D8. If you use some online tool it returns 0xD861.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants