-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Swap the byte order of the balancing bitmask #56
Labels
enhancement
New feature or request
Comments
hopefully this is what you were looking for
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@@baerrs
I'm not sure if this is normal or not, it doesn't seem normal to me.
Originally posted by @baerrs in #17 (reply in thread)
The balancing bitmask is a 32 bit value which indicates the currently balanced cell:
https://github.com/syssi/esphome-jbd-bms/blob/main/components/jbd_bms_ble/jbd_bms_ble.cpp#L292-L295
Some examples:
The screenshot shows the value 524288 (DEC) -> 0x80000 (HEX) ->
b10000000000000000000
(Bin) -> balancing cell number 1The text was updated successfully, but these errors were encountered: