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

Adds checksum and battery_ok for WEC-2103. #2662

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

tommie
Copy link
Contributor

@tommie tommie commented Oct 6, 2023

It uses a somewhat mangled CRC-4 implementation with polynomial 3.

Confirmed this passes the recordings in #2185 (comment).

None of these recordings have batt-low set, but on my device (TK07K-THX, as opposed to WEC-2103's TK07Y-THX) it exists, and they look pretty much identical otherwise.

Closes #2661.

src/devices/wec2103.c Outdated Show resolved Hide resolved
src/devices/wec2103.c Outdated Show resolved Hide resolved
@zuckschwerdt
Copy link
Collaborator

Can you update the doc-comment with your findings about the alternate model name, the short info about the mangled CRC. And change the list to confirm
- X: Checksum: mangled CRC-4

@zuckschwerdt zuckschwerdt merged commit 66bc939 into merbanan:master Oct 18, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

WEC-2103 checksum algorithm
2 participants