Skip to content

Commit

Permalink
Fix open/close/actuate trunk code and documentation
Browse files Browse the repository at this point in the history
The OpenTrunk method was implemented as an alias for ActuateTrunk, but
the commands have different meanings in vehicles with powered trunks and
vehicles without. The implementations are now correct, and the proxied
`actuate_trunk` invokes ActuateTrunk, leaving its behavior unchanged.
  • Loading branch information
sethterashima authored and Seth Terashima committed Mar 18, 2024
1 parent 5d213ad commit 30f7b57
Show file tree
Hide file tree
Showing 4 changed files with 237 additions and 202 deletions.
4 changes: 4 additions & 0 deletions pkg/protocol/protobuf/vcsec.proto
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ message InformationRequest {
enum RKEAction_E {
RKE_ACTION_UNLOCK = 0;
RKE_ACTION_LOCK = 1;
RKE_ACTION_OPEN_TRUNK = 2;
RKE_ACTION_OPEN_FRUNK = 3;
RKE_ACTION_OPEN_CHARGE_PORT = 4;
RKE_ACTION_CLOSE_CHARGE_PORT = 5;
RKE_ACTION_REMOTE_DRIVE = 20;
RKE_ACTION_AUTO_SECURE_VEHICLE = 29;
RKE_ACTION_WAKE_VEHICLE = 30;
Expand Down
Loading

0 comments on commit 30f7b57

Please sign in to comment.