zephyr/subsys/bluetooth
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
..
audio tests: Bluetooth: ASCS: Fix various issues in ASCS unit tests 2024-11-26 15:43:13 -05:00
common Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
controller Bluetooth: Controller: Fix reschedule for ticker that yield 2024-12-05 15:18:11 +01:00
crypto bt: crypto/host: remove CONFIG_BT_USE_PSA_API symbol 2024-11-27 16:40:47 -05:00
host Bluetooth: Classic: SDP: Improve SDP discover 2024-12-06 12:14:29 +01:00
lib
mesh Bluetooth: Mesh: Check that required models exists on the same element 2024-12-04 09:23:44 +01:00
services bluetooth: CTS: Fix includes to avoid build error with some libCs 2024-11-18 19:29:32 -05:00
CMakeLists.txt Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig.adv Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig.iso Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig.logging Bluetooth: AVRCP: Implemation of AVRCP. 2024-11-18 13:19:07 -05:00