Skip to content

Clink: declare AUTH version 0x0701 and accept 2.x/3.x/4.x replies - #35

Merged
riko2chen merged 1 commit into
mainfrom
feature/clink-auth-version
Nov 8, 2026
Merged

riko2chen merged 1 commit into
mainfrom
feature/clink-auth-version

Conversation

@riko2chen

Copy link
Copy Markdown
Contributor

Summary

Align the AUTH request version with shipped phone apps and accept the reply versions seen in the field.

Version Where seen
request 0x0501 CarWith 2.3.1
request 0x0701 CarWith 3.8.0 and 4.0.23 (current default)
reply 0x0901 real head unit / demo logs

The Kotlin and Rust clink sources now declare 0x0701 and accept 1, 0x0501, 0x0701, 0x0901 in a reply. The oracle transcript tests still compare every request field except the version, and the response tests cover all four accepted reply versions.

Validation

  • :clink:test passes.
  • cargo test -p oxp-clink passes (auth suite 5/5).
  • cargo clippy -p oxp-clink --all-targets -- -D warnings passes.

CarWith declares 0x0701 in its AUTH request (0x0501 in 2.x) and head units reply 0x0901. Send 0x0701 from the Kotlin and Rust sources and accept the known reply versions; keep the oracle transcript tests by comparing every field except the request version.
@riko2chen
riko2chen enabled auto-merge November 8, 2026 08:07
@riko2chen
riko2chen merged commit 5bedbd0 into main Nov 8, 2026
6 checks passed
@riko2chen
riko2chen deleted the feature/clink-auth-version branch November 8, 2026 08:09
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant