Skip to content

Commit

Permalink
Updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
wschenk committed Nov 8, 2024
1 parent d6530ee commit 4fb1799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func main() {
fmt.Println("Vehicle is locked")

fmt.Println("Performing handshake with vehicle...")
if err := car.StartSession(ctx, nil); err != nil {
if err := car.StartSession(ctx, []protocol.Domain{protocol.DomainVCSEC}); err != nil {
logger.Printf("Failed to perform handshake with vehicle: %s\n", err)
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func main() {
fmt.Println("Vehicle is locked")

fmt.Println("Performing handshake with vehicle...")
if err := car.StartSession(ctx, nil); err != nil {
if err := car.StartSession(ctx, []protocol.Domain{protocol.DomainVCSEC}); err != nil {
logger.Printf("Failed to perform handshake with vehicle: %s\n", err)
return
}
Expand Down

0 comments on commit 4fb1799

Please sign in to comment.