-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
tests: Bluetooth: BR: Add test suite sdp_server #81769
tests: Bluetooth: BR: Add test suite sdp_server #81769
Conversation
484f20f
to
654e7d6
Compare
0513d1a
to
3775d00
Compare
155380c
to
35d383d
Compare
b270ea5
to
0f27a88
Compare
0f27a88
to
875a68c
Compare
875a68c
to
917e1c2
Compare
d84a0fe
to
03bcc7b
Compare
03bcc7b
to
ccad59d
Compare
hi @lylezhu2012 , I tried this pr on the local with HW board setup (RT1170 + rtk usb dongle), but could work with legacy bumble version, 0.0.203.dev8+g01dc0d5, as you shared. |
ccad59d
to
fceb5a8
Compare
It is caused by the upgrade of bumble. It has been fixed now. The version 0.0.208 of bumble can work properly. |
@jhedberg Do you have any comments of this PR? I saw there is a "Requested changes" from you. And I have updated the folder path |
0fe452b
to
96cf8a1
Compare
96cf8a1
to
96face6
Compare
@@ -0,0 +1,15 @@ | |||
tests: | |||
sdp.s: |
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.
This should be bluetooth.sdp.server
for clarity and consistency. You could even consider creating a bluetooth.classic.*
namespace for all Bluetooth Classic tests.
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.
Updated.
ca86f74
to
0037e2e
Compare
IUT works as a SDP Server. The peer device, SDP client, is a PC with running `bumble` on it. Define 10 SDP records. 8 normal SDP records. one SDP record with large service name that cannot be discovered by peer since the data length exceeds the MTU of SDP. And one SDP record with large service name that can be discovered by peer but `continuation state` needs to be involved. By default, no SDP record will be registered. Add shell command `register_sdp` to register specific SDP record. Add shell command `register_sdp_all` to register all normal SDP records. Add shell command `register_sdp_large` to register SDP record with large service name that cannot be discovered by peer. Add shell command `register_sdp_large_valid` to register SDP record with large service name that can be discovered by peer. In the test suite, there two test cases, Case 1, discover the IUT. Case 2, connect to the IUT. And send serial SDP discovery requests. Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
0037e2e
to
4cfc4b4
Compare
Remove the using of |
IUT works as a SDP Server. The peer device, SDP client, is a PC with running
bumble
on it.Define 10 SDP records. 8 normal SDP records. one SDP record with large service name that cannot be discovered by peer since the data length exceeds the MTU of SDP. And one SDP record with large service name that can be discovered by peer but
continuation state
needs to be involved.By default, no SDP record will be registered.
Add shell command
register_sdp
to register specific SDP record. Add shell commandregister_sdp_all
to register all normal SDP records.Add shell command
register_sdp_large
to register SDP record with large service name that cannot be discovered by peer. Add shell commandregister_sdp_large_valid
to register SDP record with large service name that can be discovered by peer.In the test suite, there two test cases,
Case 1, discover the IUT.
Case 2, connect to the IUT. And send serial SDP discovery request.