zephyr/subsys/bluetooth/host
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
..
classic Bluetooth: Classic: SDP: Improve SDP discover 2024-12-06 12:14:29 +01:00
shell bluetooth: shell: refactor shell print to eliminate ctx_shell usage 2024-12-05 22:10:54 +01:00
addr_internal.h
addr.c
adv.c Bluetooth: Host: Refactor legacy adv creation 2024-11-18 13:16:27 -05:00
adv.h
aes_ccm.c
att_internal.h tests: bsim: bluetooth: host: att: Add ATT timeout test 2024-10-10 14:59:02 -04:00
att.c Bluetooth: Tester: Use BT_L2CAP_SEG_RECV for L2CAP tests 2024-11-27 08:16:18 +01:00
buf_view.h lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
buf.c Bluetooth: Host: Deprecate BT_BUF_ACL_RX_COUNT symbol 2024-11-27 10:30:59 +01:00
CMakeLists.txt bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
conn_internal.h Bluetooth: Host: deprecate bt_le_set_auto_conn() 2024-11-26 10:37:12 +00:00
conn.c Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
crypto_psa.c bt: crypto/host: remove CONFIG_BT_USE_PSA_API symbol 2024-11-27 16:40:47 -05:00
crypto.h
cs.c bluetooth: host: Use LOG_WRN for failed CS procedures 2024-11-27 10:31:25 +01:00
data.c
direction_internal.h
direction.c Bluetooth: HCI: Expose bt_hci_per_adv_sync_lookup_handle() 2024-07-27 15:09:00 +03:00
ecc.c Bluetooth: Conditionally print out HCI error codes as strings 2024-07-30 18:25:56 +01:00
ecc.h
gatt_internal.h
gatt.c Bluetooth: fix GATT service reregistering 2024-12-04 12:10:22 +01:00
hci_common.c Bluetooth: Host: Remove deprecated HCI driver API 2024-11-22 11:37:12 +01:00
hci_core.c bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
hci_core.h Bluetooth: Host: Remove deprecated HCI driver API 2024-11-22 11:37:12 +01:00
hci_ecc.c bt: crypto/host: remove CONFIG_BT_USE_PSA_API symbol 2024-11-27 16:40:47 -05:00
hci_ecc.h
hci_raw_internal.h Bluetooth: Host: Remove deprecated HCI driver API 2024-11-22 11:37:12 +01:00
hci_raw.c bt: use PSA for HCI ECC and rename BT_TINYCRYPT_ECC 2024-11-27 16:40:47 -05:00
id.c Bluetooth: Host: Remove unnecessary hci_driver.h includes 2024-11-22 11:37:12 +01:00
id.h
iso_internal.h Bluetooth: ISO: Removed unused pool and funcs/macros 2024-11-25 17:42:59 +01:00
iso.c Bluetooth: ISO: Add dbg of create BIG params 2024-12-04 12:09:29 +01:00
Kconfig Bluetooth: Host: more secure defaults for key size and legacy pairing 2024-12-04 12:10:54 +01:00
Kconfig.gatt bt: crypto/host: remove CONFIG_BT_USE_PSA_API symbol 2024-11-27 16:40:47 -05:00
Kconfig.l2cap Bluetooth: Tester: Use BT_L2CAP_SEG_RECV for L2CAP tests 2024-11-27 08:16:18 +01:00
keys.c Bluetooth: Host: Fix not clearing IDs and keys upon bt_disable() 2024-05-28 09:11:52 -07:00
keys.h subsys/bluetooth/host/keys.h: Add include guard and required include 2024-10-29 09:24:13 -07:00
l2cap_internal.h Bluetooth: Tester: Use BT_L2CAP_SEG_RECV for L2CAP tests 2024-11-27 08:16:18 +01:00
l2cap.c Bluetooth: Host: Deprecate BT_BUF_ACL_RX_COUNT symbol 2024-11-27 10:30:59 +01:00
long_wq.c Bluetooth: host: tweak up the bluetooth thread names 2024-04-02 21:01:00 -04:00
long_wq.h
monitor.c Bluetooth: Host: Fix monitor UART selection 2024-11-01 09:56:52 -05:00
monitor.h Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
scan.c Bluetooth: Host: Log when connecting while scanning may give bad params 2024-11-27 10:38:27 -05:00
scan.h Bluetooth: Host: Log when connecting while scanning may give bad params 2024-11-27 10:38:27 -05:00
settings.c
settings.h
smp_null.c Bluetooth: L2CAP: Make bt_l2cap_send_pdu() 2024-06-12 18:51:34 +02:00
smp.c Bluetooth: BR: Improve bt_conn_set_bondable 2024-10-02 15:54:30 +02:00
smp.h Bluetooth: Mark bt_<type>_err_to_str() APIs experimental 2024-07-11 13:11:59 -04:00
uuid.c