From 96746ba444ce958ecd38986cd95b5e8d0a9d1c6c Mon Sep 17 00:00:00 2001 From: Harrison Eckert <65581761+harrison-e@users.noreply.github.com> Date: Sat, 21 Dec 2024 16:22:02 -0500 Subject: [PATCH] CAN spec patches (#218) * 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 --- cangen/can-messages/charger.json | 4 ++-- cangen/can-messages/mpu.json | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/cangen/can-messages/charger.json b/cangen/can-messages/charger.json index 0dea159..acd1cc7 100644 --- a/cangen/can-messages/charger.json +++ b/cangen/can-messages/charger.json @@ -218,10 +218,10 @@ "send": false, "points": [ { - "size": 24 + "size": 27 } ] } ] } -] \ No newline at end of file +] diff --git a/cangen/can-messages/mpu.json b/cangen/can-messages/mpu.json index 9a9f236..67fa5e2 100644 --- a/cangen/can-messages/mpu.json +++ b/cangen/can-messages/mpu.json @@ -15,7 +15,7 @@ ], [ 1, - 0.80 + 0.78 ], [ 2, @@ -27,7 +27,7 @@ ], [ 4, - 0.00 + 0.01 ] ] }, @@ -52,7 +52,7 @@ ], [ 2, - 0.40 + 0.20 ], [ 3, @@ -370,8 +370,7 @@ }, "points": [ { - "size": 8, - "endianness": "little" + "size": 8 } ] }