Skip to content

Commit

Permalink
HKG CAN-FD: Second alternate GEAR message (#768)
Browse files Browse the repository at this point in the history
* Second alternate GEAR message

* Wrong bits!

* 32 bytes
  • Loading branch information
sunnyhaibin authored Jan 12, 2023
1 parent bd3ce2d commit 2a186ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hyundai_canfd.dbc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ BO_ 101 BRAKE: 32 XXX
SG_ BRAKE_POSITION : 40|16@1- (1,0) [0|65535] "" XXX
SG_ BRAKE_PRESSED : 57|1@1+ (1,0) [0|3] "" XXX

BO_ 112 GEAR_ALT_2: 32 XXX
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
SG_ GEAR : 60|3@1+ (1,0) [0|7] "" XXX

BO_ 160 WHEEL_SPEEDS: 24 XXX
SG_ CHECKSUM : 0|16@1+ (1,0) [0|65535] "" XXX
SG_ COUNTER : 16|8@1+ (1,0) [0|255] "" XXX
Expand Down Expand Up @@ -562,6 +567,7 @@ CM_ SG_ 1043 COUNTER_ALT "only increments on change";
VAL_ 53 GEAR 0 "P" 5 "D" 6 "N" 7 "R" ;
VAL_ 64 GEAR 0 "P" 5 "D" 6 "N" 7 "R" ;
VAL_ 69 GEAR 0 "P" 5 "D" 6 "N" 7 "R" ;
VAL_ 112 GEAR 0 "P" 5 "D" 6 "N" 7 "R" ;
VAL_ 80 LKA_ICON 0 "hidden" 1 "grey" 2 "green" 3 "flashing green" ;
VAL_ 80 LKA_MODE 1 "warning only" 2 "assist" 6 "off" ;
VAL_ 234 LKA_FAULT 0 "ok" 1 "lka fault" ;
Expand Down

0 comments on commit 2a186ec

Please sign in to comment.