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

Update the EMS fw to handle the new BMS messages - STINT 2 #504

Open
valegagge opened this issue Jul 29, 2024 · 0 comments
Open

Update the EMS fw to handle the new BMS messages - STINT 2 #504

valegagge opened this issue Jul 29, 2024 · 0 comments
Assignees

Comments

@valegagge
Copy link
Member

valegagge commented Jul 29, 2024

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:

  • 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

@valegagge valegagge changed the title Update the EMS fw to handle the new BMS messages Update the EMS fw to handle the new BMS messages - STINT 2 Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants