Skip to content

Commit

Permalink
CAN spec patches (#218)
Browse files Browse the repository at this point in the history
* Message 0x18FF50E5 (Charger Box Status) now byte aligned. Changed unused from 24 to 27 bits.

* Changed sim frequencies in MPU/State/Mode and MPU/State/ModeIndex to add to 1. Mode option 1 from 0.80 to 0.79, and ModeIndex option 2 from 0.40 to 0.20.

* Sim option 4 frequency of MPU/State/Mode changed from 0.00 to 0.01
  • Loading branch information
harrison-e authored Dec 21, 2024
1 parent c2061ae commit 96746ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cangen/can-messages/charger.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@
"send": false,
"points": [
{
"size": 24
"size": 27
}
]
}
]
}
]
]
9 changes: 4 additions & 5 deletions cangen/can-messages/mpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
[
1,
0.80
0.78
],
[
2,
Expand All @@ -27,7 +27,7 @@
],
[
4,
0.00
0.01
]
]
},
Expand All @@ -52,7 +52,7 @@
],
[
2,
0.40
0.20
],
[
3,
Expand Down Expand Up @@ -370,8 +370,7 @@
},
"points": [
{
"size": 8,
"endianness": "little"
"size": 8
}
]
}
Expand Down

0 comments on commit 96746ba

Please sign in to comment.