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

todo: multibit bitflags - implementation idea #54

Closed
HotNoob opened this issue Sep 25, 2024 Discussed in #53 · 0 comments
Closed

todo: multibit bitflags - implementation idea #54

HotNoob opened this issue Sep 25, 2024 Discussed in #53 · 0 comments

Comments

@HotNoob
Copy link
Owner

HotNoob commented Sep 25, 2024

Discussed in #53

Originally posted by HotNoob September 23, 2024
just need somewhere to put this down.

for protocols with weird multibit / bit combination flags: ie, protocols/growatt/growatt_bms_canbus_v1.04.registry_map.csv

can maybe implement a multibit flag solution such as.
"b1&b3" : "status"
"b1&b4&b7" : "different status"

alternatively, it could probably be hacked in by splitting the bits into uints... but it might not be the cleanest solution as the flags' would get their own variables.

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

1 participant