-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
base: main
Are you sure you want to change the base?
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
tests/classic/sdp_s/CMakeLists.txt
Outdated
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.
tests/classic
is not correct. Any Bluetooth tests must go under tests/bluetooth
. I saw your comment in the other PR about Windows apparently having some limit on full path length for object files, however whatever the solution is going to be this is not it.
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.
Btw, this is also the reason why this PR didn't get any automatic labels, reviewers or assignees.
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.
Well. Updated the path.
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 is done.
0f27a88
to
875a68c
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 request. Signed-off-by: Lyle Zhu <[email protected]>
875a68c
to
917e1c2
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 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.