Repository navigation
v0.19.0
Log the CAN box profile and send no PSA commands to other profiles
The vendor app com.tw.car is built once per CAN box profile, and its version name starts with the profile code (961_0000_260130 on the van). The app opened log line now ends with that version and the profile it names, so shared diagnostics show which profiles users have.
CarProfileholds the profiles with a known stop-start command (see #51). Only961(Raise, PSA and Opel) is marked tested.- Guard: when the vendor app names a known profile other than
961, the switch screen and the automatic switch send nothing to the CAN box. On those boxes the PSA bytes mean something else: on an emulator with a stand-in Raise VW box, master sent143 {56,0}and57queries to it. The log saysthe car app names profile 111 (Raise, VW MQB): its stop-start command differs, nothing will be sentand the card shows NO LINK TO CAR. The watch service still opens its link: it only listens to power messages. Units without the vendor app or with an unknown profile are unchanged. Profile96(PSA on Simple Soft, Binary or LuZheng) is blocked too: its query and value meaning differ from Raise. - The table also corrects VW
11to send id 58. - The manifest declares
<queries>forcom.tw.car, so detection keeps working if the target SDK is raised past 29.
Verified:
sh test.shpasses, including the newCarProfileTest.build.shpasses, and the APK manifest contains the<queries>entry.- Android 14 emulator: the line ends with
car app not found, as expected without the vendor app. With a stand-in vendor app111_0000_260327and a fake Raise VWTWUtilin a test-only build, no write reached the box. Not yet seen on a head unit.
The README links docs/vendor-profiles.md, which comes with #51.
🤖 Generated with Claude Code