diff --git a/cangen/can-messages/mpu.json b/cangen/can-messages/mpu.json index 67fa5e2..97e6a92 100644 --- a/cangen/can-messages/mpu.json +++ b/cangen/can-messages/mpu.json @@ -932,5 +932,105 @@ ] } ] + }, + { + "id": "0x698", + "desc": "Cerberus Version Tag", + "sim_freq": 1000, + "fields": [ + { + "name": "MPU/Version/Tag", + "unit": "major.minor.patch", + "sim": { + "min": 0, + "max": 3, + "inc_min": 1, + "inc_max": 1, + "round": true + }, + "points": [ + { + "size": 8 + }, + { + "size": 8 + }, + { + "size": 8 + } + ] + }, + { + "name": "MPU/Version/Dirty", + "unit": "bool", + "sim": { + "options": [ + [ + 0, + 0.95 + ], + [ + 1, + 0.05 + ] + ] + }, + "points": [ + { + "size": 8 + } + ] + }, + { + "name": "MPU/Version/LocalCommit", + "unit": "bool", + "sim": { + "options": [ + [ + 0, + 0.95 + ], + [ + 1, + 0.06 + ] + ] + }, + "points": [ + { + "size": 8 + } + ] + } + ] + }, + { + "id": "0x699", + "desc": "Cerberus Version Hash", + "sim_freq": 1000, + "fields": [ + { + "name": "MPU/Version/ShortHash", + "unit": "hash", + "sim": { + "min": 0000, + "max": 4294967295, + "inc_min": 1, + "inc_max": 1, + "round": true + } + }, + { + "name": "MPU/Version/AuthorHash", + "unit": "hash", + "sim": { + "min": 0000, + "max": 4294967295, + "inc_min": 1, + "inc_max": 1, + "round": true + } + } + ] } ]