mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-11 19:25:13 +00:00
The attribute protocol Read By Type is used to perform Read Using Characteristic UUID procedure. This procedure is used to read characteristic value if Characteristic Value UUID is known, while handle is not known. Errors received from application like Insufficient Encryption Key Size must be send as a response to Read By Type Request > ACL Data RX: Handle 64 flags 0x02 dlen 11 [hci0] 94382.244804 ATT: Read By Type Request (0x08) len 6 Handle range: 0x0003-0x0003 Attribute type: Unknown (0xaa51) < ACL Data TX: Handle 64 flags 0x00 dlen 9 [hci0] 94382.255987 ATT: Error Response (0x01) len 4 Read By Type Request (0x08) Handle: 0x0003 Error: Insufficient Encryption Key Size (0x0c) With this patch we can pass TC_GAR_SR_BI_11_C test. Change-Id: Id47109f673cb725b2edd9cc0e154cc055fc8d0ef Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com> |
||
---|---|---|
.. | ||
att.c | ||
att.h | ||
conn_internal.h | ||
conn.c | ||
gatt_internal.h | ||
gatt.c | ||
hci_core.c | ||
hci_core.h | ||
Kconfig | ||
keys.c | ||
keys.h | ||
l2cap_internal.h | ||
l2cap.c | ||
Makefile | ||
smp_null.c | ||
smp.c | ||
smp.h | ||
stack.h | ||
uuid.c |