-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Bluetooth: Classic: L2CAP: implement ECHO REQ/RSP #88990
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
nashif
merged 2 commits into
zephyrproject-rtos:main
from
nxp-upstream:classic_l2cap_enable_echo
May 30, 2025
Merged
Bluetooth: Classic: L2CAP: implement ECHO REQ/RSP #88990
nashif
merged 2 commits into
zephyrproject-rtos:main
from
nxp-upstream:classic_l2cap_enable_echo
May 30, 2025
+459
−0
Conversation
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
5180720
to
0a74f97
Compare
hermabe
reviewed
Apr 24, 2025
0a74f97
to
25a834b
Compare
25a834b
to
644a1ec
Compare
makeshi
approved these changes
May 26, 2025
Just reminder. |
I just reviewed the LE parts. Now that all the changes are in the classic parts, I will leave the review up to the classic maintainers. |
644a1ec
to
a122343
Compare
Handle the ECHO request/response of classic L2CAP signaling packets. Add the functions `bt_l2cap_br_echo_cb_register()` and `bt_l2cap_br_echo_cb_unregister()` to register/unregister the ECHO callbacks to monitor the ECHO REQ and RSP. Add the function `bt_l2cap_br_echo_req()` to send the ECHO REQ through classic L2CAP signaling channel. Add the function `bt_l2cap_br_echo_rsp()` to reply the ECHO REQ through the classic L2CAP signaling channel. Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
Add echo test shell commands, `register`, `unregister`, `req`, and `rsp`. Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
a122343
to
7e9427c
Compare
|
dleach02
approved these changes
May 29, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Bluetooth Classic
Bluetooth Classic (BR/EDR)
area: Bluetooth Host
Bluetooth Host (excluding BR/EDR)
area: Bluetooth
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.
Handle the ECHO request/response of classic L2CAP signaling packets.
Add the functions
bt_l2cap_br_echo_cb_register()
andbt_l2cap_br_echo_cb_unregister()
to register/unregister the ECHOcallbacks to monitor the ECHO REQ and RSP.
Add the function
bt_l2cap_br_echo_req()
to send the ECHO REQ through classic L2CAP signaling channel.Add the function
bt_l2cap_br_echo_rsp()
to reply the ECHO REQ through the classic L2CAP signaling channel.