Skip to content

HFP: Fix response handling#892

Merged
zxzxwu merged 1 commit intogoogle:mainfrom
zxzxwu:hfp
Feb 26, 2026
Merged

HFP: Fix response handling#892
zxzxwu merged 1 commit intogoogle:mainfrom
zxzxwu:hfp

Conversation

@zxzxwu
Copy link
Collaborator

@zxzxwu zxzxwu commented Feb 24, 2026

The current RESPONSE_CODES contains some codes that are actually unsolicited, and the mechanism is not easy to maintain which makes unsolicited are usually considered as responses.

Considering that all response codes are same as their command codes, we can just check if the incoming code is either status code or same as the current command code, and consider all the other responses unsolicited.

@zxzxwu zxzxwu requested a review from hchataing February 25, 2026 07:46
@zxzxwu zxzxwu merged commit 1330e83 into google:main Feb 26, 2026
55 checks passed
@zxzxwu zxzxwu deleted the hfp branch February 26, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants