Repository navigation
CarLife: send the auth result unasked when the receiver sends no challenge - #40
Merged
Merged
Conversation
…lenge
CarLife 4.3 receivers no longer send 98376 and wait for the sender's 65611
(the sender-checks-head-unit path, Baidu integration guide 17.2), so the
handshake stalled at 30% until handshake_timeout. If no challenge arrives
within 3 s of device info, send 65611 {1:true} and accept 98380 as usual.
A late challenge is still answered and the session is established once.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CarLife receiver 4.3.79 (com.baidu.carlifevehicle) stalls at 30%: it no longer sends the 98376 AuthenRequest and waits for the sender's 65611 AuthenResult, the path where the sender checks the head unit after its statistics (Baidu integration guide §17.2). The same head unit with 4.0.0 code42 connects.
{1: true}; diagnosticauth unsolicited_result=true.Tests added in CarlifeSessionTest (not run locally; CI runs them). Not yet device-tested on a 4.3 receiver.