Skip to content

Comments

HFP: Fix response handling#892

Open
zxzxwu wants to merge 1 commit intogoogle:mainfrom
zxzxwu:hfp
Open

HFP: Fix response handling#892
zxzxwu wants to merge 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.

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.

1 participant