...
These are the actions needed to achieve a certain relay state:
OFF->ON:
set HV_POS_RELAY_EN
set HV_NEG_RELAY_EN
set HV_SOLAR_RELAY_EN
For ON->OFF or ON->Fault, we can just open all at once (set *_EN to low)
CAN Messages
BMS Status:
16-bit fault bitset corresponding to ENUM above
8-bit relay state (OFF/ON)
8-bit Fan status fault bitset for Fan1 + 2
...