Skip to content

Commit

Permalink
Accept any J29 HMI that logs in with BMW cert
Browse files Browse the repository at this point in the history
  • Loading branch information
hufman committed Aug 5, 2024
1 parent 5cafcfc commit 2e767b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main/java/me/hufman/androidautoidrive/CarProber.kt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ class CarProber(val securityAccess: SecurityAccess, val settings: AppSettings, v
success = true
break
}
if (hmiType?.startsWith("J29") == true && (brand == "bmw" || brand == "mini")) {
// the car has ENTWICKLER_MENUE active and ignores the brand restriction on the cert
setConnectedState(host, port, brand)
success = true
break
}
if (brand == "j29") {
setConnectedState(host, port, "j29")
success = true
Expand Down

0 comments on commit 2e767b2

Please sign in to comment.