zephyr/subsys/bluetooth/host/classic
Lyle Zhu a047113556 Bluetooth: Classic: SDP: Improve SDP discover
Extend the function `bt_sdp_discover` to support service search
transaction and service attribute transaction.

Improve the `session->rec_buf`. If the net buffer cannot be allocated
from the channel, disconnect the SDP session.

Set the `MaximumAttributeByteCount` of the request
`SDP_SERVICE_SEARCH_ATTR_REQ` with the tail room of `session->rec_buf`.

Set the `MaximumAttributeByteCount` of the request `SDP_SERVICE_ATTR_REQ`
with the tail room of `session->rec_buf`.

Set the `MaximumServiceRecordCount` of the request
`SDP_SERVICE_SEARCH_REQ` according to the tail room of
`session->rec_buf`.

Handle the response code `SDP_SERVICE_SEARCH_RSP`, and
`SDP_SERVICE_ATTR_RSP`.

Handle the error `SDP_ERROR_RSP`. Start the next SDP discovery if the
error received.

If there no more request, disconnect the session.

If the request cannot be sent, start the next SDP discovery.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-12-06 12:14:29 +01:00
..
shell Bluetooth: AVRCP: implementation for subunit info command. 2024-12-03 10:17:09 +01:00
a2dp_codec_sbc.c
a2dp_internal.h
a2dp.c Bluetooth: A2DP: Fix mistake parameter 2024-07-11 16:16:09 +02:00
at.c lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
at.h
avctp_internal.h Bluetooth: AVRCP: fix bitfield issue. 2024-11-18 13:19:07 -05:00
avctp.c Bluetooth: AVCTP: add error handling for fragmented message. 2024-11-18 13:19:07 -05:00
avdtp_internal.h
avdtp.c bluetooth: AVDTP: Check buffer len before pulling data 2024-09-09 13:54:56 -04:00
avrcp_internal.h Bluetooth: AVRCP: implementation for subunit info command. 2024-12-03 10:17:09 +01:00
avrcp.c Bluetooth: AVRCP: add buffer length protections. 2024-12-03 10:17:09 +01:00
br.c Bluetooth: BR: Improve bt_conn_set_bondable 2024-10-02 15:54:30 +02:00
br.h
CMakeLists.txt Bluetooth: AVRCP: Implemation of AVRCP. 2024-11-18 13:19:07 -05:00
hfp_ag_internal.h
hfp_ag.c Bluetooth: Classic: HF_AG: Fix unexpected return 2024-06-27 10:53:17 +02:00
hfp_hf.c
hfp_internal.h
Kconfig Bluetooth: AVRCP: Implemation of AVRCP. 2024-11-18 13:19:07 -05:00
keys_br.c
l2cap_br_interface.h Bluetooth: BR: SMP: Check if remote supports CID 0x0007 2024-10-02 10:14:18 +02:00
l2cap_br_internal.h Bluetooth: L2CAP_BR: Set flags in CFG RSP 2024-10-05 14:07:00 -04:00
l2cap_br.c Bluetooth: Host: Remove unnecessary hci_driver.h includes 2024-11-22 11:37:12 +01:00
rfcomm_internal.h
rfcomm.c Bluetooth: Host: Deprecate BT_BUF_ACL_RX_COUNT symbol 2024-11-27 10:30:59 +01:00
sco_internal.h
sco.c
sdp_internal.h
sdp.c Bluetooth: Classic: SDP: Improve SDP discover 2024-12-06 12:14:29 +01:00
ssp.c bluetooth: ssp: support pairing_accept for ssp 2024-11-27 10:29:36 +01:00
ssp.h