-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Bluetooth: Improve hfp hf and ag #77694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kartben
merged 76 commits into
zephyrproject-rtos:main
from
nxp-upstream:improve_hfp_hf_and_ag
Apr 3, 2025
Merged
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
c4e756b
Bluetooth: HFP_HF: Improve the feature configuration
lylezhu2012 0fb1830
Bluetooth: BR: at: add function at_get_string
lylezhu2012 f2bd690
Bluetooth: HFP_HF: Support unsolicited result code +CLIP
lylezhu2012 8a4a5ec
Bluetooth: HFP_HF: Add function bt_hfp_hf_cli
lylezhu2012 2754d4d
Bluetooth: HFP_HF: Only send AT+CMEE=1 if AG supports
lylezhu2012 2dad6d4
Bluetooth: HFP_HF: handle unsolicited result code +VGS/+VGM
lylezhu2012 968e106
Bluetooth: HFP_HF: Add function to set vgm and vgs
lylezhu2012 5ce5353
Bluetooth: HFP_AG: Fix AT+CLIP parse issue
lylezhu2012 5bb64b2
Bluetooth: HFP_AG: Change log message to LOG_DBG
lylezhu2012 e7411b5
Bluetooth: HFP_AG: Improve the call terminate
lylezhu2012 9ec398d
Bluetooth: HFP_HF: Notify in-band ring setting
lylezhu2012 1063435
Bluetooth: HFP_AG: Support remote audio volume control
lylezhu2012 c7dc90f
Bluetooth: at: support separator "="
lylezhu2012 a54182c
Bluetooth: HFP_HF: Optimize initialization after SLC established
lylezhu2012 4937524
Bluetooth: HFP_HF: Send AT+VGM and AT+VGS after SLC established
lylezhu2012 14600af
Bluetooth: HHF_HF: Support read network operator
lylezhu2012 81a6749
Bluetooth: HFP_AG: Support network operator update
lylezhu2012 3bf2b61
Bluetooth: HFP_HF: Add a function to accept the call
lylezhu2012 265c247
Bluetooth: HFP_AG: Add dedicated SDP features definition
lylezhu2012 afd5b3b
Bluetooth: HFP_AG: Improve extended error result codes
lylezhu2012 014cc50
Bluetooth: HFP_AG: Improve codec negotiation
lylezhu2012 ab5de71
Bluetooth: HFP_HF: Improve codec negotiation
lylezhu2012 83bf9d1
Bluetooth: HFP_AG: Improve inband ringtone setting
lylezhu2012 8d96449
Bluetooth: HFP_HF: Add a function to reject the call
lylezhu2012 551d23f
Bluetooth: HFP_HF: Add a function to terminate the call
lylezhu2012 af4fd8d
Bluetooth: HFP_AG: Add number dialing callback
lylezhu2012 9916633
Bluetooth: HFP_HF: Support phone number calling
lylezhu2012 1c042f4
Bluetooth: HFP_HF: Support memory dialing
lylezhu2012 3006ada
Bluetooth: HFP_HF: Support last number recalling
lylezhu2012 bca0faa
Bluetooth: HFP_AG: Handle command AT+NREC=0
lylezhu2012 d5c07a7
Bluetooth: HFP_HF: Turn off AG's EC and NR
lylezhu2012 4ac35fc
Bluetooth: HFP_HF: Hold incoming call
lylezhu2012 18e1b53
Bluetooth: HFP_AG: Hold incoming call
lylezhu2012 68bca32
Bluetooth: HFP_AG: Support Enhanced call status
lylezhu2012 86d073a
Bluetooth: HFP_AG: Handle AT+CCWA command
lylezhu2012 f83fd1c
Bluetooth: HFP_HF: Code clean
lylezhu2012 30257de
Bluetooth: HFP_AG: Enable 3-way feature
lylezhu2012 fe916fe
Bluetooth: HFP_HF: Use HF object to replace conn object
lylezhu2012 7f14852
Bluetooth: HFP_AG: Move CLCC status definitions
lylezhu2012 0ae0bea
Bluetooth: HFP_HF: Enable 3-way feature
lylezhu2012 2e09d89
Bluetooth: HFP_HF: Avoid at status overwrote by sending
lylezhu2012 f6a18e7
Bluetooth: HFP_HF: Fix TX queue broken issue
lylezhu2012 41e29e0
Bluetooth: HFP_HF: Support Voice recognition activation
lylezhu2012 198f5e4
Bluetooth: HFP_AG: Support Voice recognition activation
lylezhu2012 7b0935e
Bluetooth: HFP_HF: Request phone number
lylezhu2012 418a9ca
Bluetooth: HFP_AG: Attach a phone number for a voice tag
lylezhu2012 3fccfbc
Bluetooth: HFP_HF: Transmit DTMF Code
lylezhu2012 848d423
Bluetooth: HFP_AG: Handle DTMF code
lylezhu2012 0e22767
Bluetooth: HFP_HF: Query subscriber number
lylezhu2012 40f94bd
Bluetooth: HFP_AG: Send subscriber number info
lylezhu2012 e2c55fe
Bluetooth: HFP_AG: Set signal strength
lylezhu2012 7aa5827
Bluetooth: HFP_AG: Set roaming status
lylezhu2012 28ef3ed
Bluetooth: HFP_AG: Set battery level
lylezhu2012 4e193cf
Bluetooth: HFP_AG: Set service availability
lylezhu2012 c629e88
Bluetooth: HFP_HF: Activate/deactivate AG indicators
lylezhu2012 7f10c0e
Bluetooth: HFP_AG: Indicators Activation and Deactivation
lylezhu2012 272cdb8
Bluetooth: HFP_HF: Optimize SLC init procedure
lylezhu2012 fe05f77
Bluetooth: HFP_HF: Support HF Indicators
lylezhu2012 ffba65a
Bluetooth: HFP_AG: Support HF Indicators
lylezhu2012 3e264ce
Bluetooth: HFP_HF: fix typo
lylezhu2012 ab1b9ef
Bluetooth: HFP_AG: fix typo
lylezhu2012 b877c11
Bluetooth: HFP_HF: Initiate SLC establishment
lylezhu2012 6df2fa3
Bluetooth: HFP_AG: Ability to reject call
lylezhu2012 ea107eb
Bluetooth: HFP_HF: Verify ability to reject a call
lylezhu2012 c4ec15d
Bluetooth: HFP_AG: Support RFCOMM responder
lylezhu2012 3a87711
Bluetooth: HFP_HF: Improve SCO accept
lylezhu2012 d7452f0
Bluetooth: shell: Support HFP HF and AG
lylezhu2012 e0f784d
Bluetooth: Shell: BR: Find HFP_HF records on HFP_AG side
lylezhu2012 6516da0
Sample: Bluetooth: HFP_AG: Update the sample
lylezhu2012 a6c7d70
Bluetooth: HFP: Divide hfp_internal.h
lylezhu2012 ff1c8d8
Sample: Bluetooth: HFP_HF: Update the sample
lylezhu2012 60d9db1
Bluetooth: HFP_AG: Change "-EOPNOTSUPP" to "-ENOEXEC"
lylezhu2012 59eb981
Bluetooth: HFP_AG: Remove unnecessary lock for feature read access
lylezhu2012 4020bb2
Bluetooth: HFP_AG: Optimize feature access
lylezhu2012 0a79a94
Bluetooth: HFP_AG: Remove unnecessary code line `__fallthrough`
lylezhu2012 1ecaf00
Bluetooth: HFP_AG: Add ACL conn to the `connected` callback
lylezhu2012 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we don't have callbacks for
AT+CGMIandAT+CGMM? Do we have them in the future?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not find these two AT commands in HFP_v1.9 specific. Are they standard AT commands defined by HFP specific? If needed, I think you could upstream the changes.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are 3GPP commands (3GPP TS 27.007)


And sure, we can add them later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhangyuan376
Please remember to add these interfaces after this PR merged.