zephyr/subsys/bluetooth/host
Chang Kim 98928c0a4f bluetooth: host: Add conditions to ATT_READ_BY_TYPE_REQ handler
Core spec V5.4 Vol. 3 Part G 2.5.2.1 Robust Caching specifies
the conditions where Database Out Of Sync (0x12) error needs to
be returned as follows:

If a client that has indicated support for robust caching (by
setting the Robust Caching bit in the Client Supported Features
characteristic) is change-unaware then the server shall send an
ATT_ERROR_RSP PDU with the Error Code parameter set to Database
Out Of Sync (0x12) when either of the following happen:
• That client requests an operation at any Attribute Handle or
list of Attribute Handles by sending an ATT request.
• That client sends an ATT_READ_BY_TYPE_REQ PDU with Attribute
Type other than «Include» or «Characteristic» and an Attribute
Handle range other than 0x0001 to 0xFFFF.

Add the conditions to ATT_READ_BY_TYPE_REQ handler.

Signed-off-by: Chang Kim <changshik@meta.com>
2024-12-17 11:37:27 +00:00
..
classic Bluetooth: Shell: BR: Set user data size for rfcomm tx pool 2024-12-16 08:35:10 +01:00
shell bluetooth: shell: code formatting cleanup in host/shell 2024-12-11 07:59:30 +01:00
addr_internal.h
addr.c
adv.c Bluetooth: Host: Add adv == NULL checks in adv.c 2024-12-06 15:17:41 +01: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: host: Add conditions to ATT_READ_BY_TYPE_REQ handler 2024-12-17 11:37:27 +00:00
buf_view.h
buf.c bluetooth: buf: Add a callback for freed buffer in rx pool 2024-12-10 11:09:36 +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: host: conn.c fix Constant variable guards dead code issue 2024-12-10 20:38:12 +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
ecc.c Bluetooth: Host: SMP: Verify public key before usage 2024-12-11 21:29:08 +01:00
ecc.h Bluetooth: Host: SMP: Verify public key before usage 2024-12-11 21:29:08 +01:00
gatt_internal.h
gatt.c bluetooth: host: gatt: consolidate net_buf_add call 2024-12-16 08:34:42 +01:00
hci_common.c Bluetooth: Host: Remove deprecated HCI driver API 2024-11-22 11:37:12 +01:00
hci_core.c bluetooth: host: hci_core: fix num_handles assignment 2024-12-10 11:08:15 +01: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 bluetooth: buf: Add a callback for freed buffer in rx pool 2024-12-10 11:09:36 +01: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: buf: Add a callback for freed buffer in rx pool 2024-12-10 11:09:36 +01:00
iso.c bluetooth: buf: Add a callback for freed buffer in rx pool 2024-12-10 11:09:36 +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
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
long_wq.h
monitor.c Bluetooth: Host: Fix monitor UART selection 2024-11-01 09:56:52 -05:00
monitor.h
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
smp.c bluetooth: smp: Fix build warnings for central with OOB legacy only 2024-12-12 11:05:38 +01:00
smp.h
uuid.c