Now the BMS of the new battery sends the following periodic messages:
Basic status info (ID: 0x620)
Cells info ( ID 0x621 -> 0x626)
Advanced alarms state (0x62A)
In addition, BMS can update its transmission rate by set transmission rate message (in sensor class polling).
Details:
expand the ETh protocol to fit the new information Cells info and Advanced alarms state: we need to update the struct eOas_battery_status_t with a field for Cells info and one for Advanced alarms state.
expand the parser in s_eo_canprot_functions_periodicBattery with one callback of each new ID
update the theBATservice accordingly
Definition of done
Implemented the above-mentioned changes.
They will be tested when the embObj battery device will be updated accordingly
Task description
Now the BMS of the new battery sends the following periodic messages:
Basic status info
(ID: 0x620)Cells info
( ID 0x621 -> 0x626)Advanced alarms state
(0x62A)In addition, BMS can update its transmission rate by
set transmission rate
message (in sensor class polling).Details:
Cells info
andAdvanced alarms state
: we need to update the structeOas_battery_status_t
with a field forCells info
and one forAdvanced alarms state
.s_eo_canprot_functions_periodicBattery
with one callback of each new IDtheBATservice
accordinglyDefinition of done
Implemented the above-mentioned changes. They will be tested when the embObj battery device will be updated accordingly