-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Feature/impl a2dp get all cap #93175
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
base: main
Are you sure you want to change the base?
Feature/impl a2dp get all cap #93175
Conversation
65cd040
to
cffd7ea
Compare
cffd7ea
to
2fcb45e
Compare
@@ -798,7 +811,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(a2dp_cmds, | |||
cmd_register_ep, 3, 0), | |||
SHELL_CMD_ARG(connect, NULL, HELP_NONE, cmd_connect, 1, 0), | |||
SHELL_CMD_ARG(disconnect, NULL, HELP_NONE, cmd_disconnect, 1, 0), | |||
SHELL_CMD_ARG(discover_peer_eps, NULL, HELP_NONE, cmd_get_peer_eps, 1, 0), | |||
SHELL_CMD_ARG(discover_peer_eps, NULL, "<avdtp version value>", cmd_get_peer_eps, 1, 1), |
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.
SHELL_CMD_ARG(discover_peer_eps, NULL, "<avdtp version value>", cmd_get_peer_eps, 1, 1), | |
SHELL_CMD_ARG(discover_peer_eps, NULL, "[avdtp version value]", cmd_get_peer_eps, 1, 1), |
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.
done
BT_SDP_PROTO_L2CAP = 0x0100, | ||
BT_SDP_PROTO_AVDTP = 0x0019, |
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.
BT_SDP_PROTO_L2CAP = 0x0100, | |
BT_SDP_PROTO_AVDTP = 0x0019, | |
BT_SDP_PROTO_AVDTP = 0x0019, | |
BT_SDP_PROTO_L2CAP = 0x0100, |
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.
done
get the avdtp version through the bt_sdp_get_proto_param Signed-off-by: Mark Wang <yichang.wang@nxp.com>
From avdtp spec, the get_all_capablities should be used if the avdtp version is v1.3, otherwise the get_capabilities should be used. Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2fcb45e
to
3ff0a40
Compare
|
Implement the avdtp/a2dp get_all_capabilities cmd and rsp.
From avdtp spec, the get_all_capablities should be used if the avdtp version is v1.3, otherwise the get_capabilities should be used.
Improve sdp to get the avdtp version through the bt_sdp_get_proto_param.