mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 21:22:34 +00:00
This fixes bug where wrong service handles have been sent while discovering the primary services. We should skip Secondary Service contained in range 0x0006-0x0009 in this case: > ACL Data RX: Handle 64 flags 0x02 dlen 13 [hci0] 619772.398445 ATT: Find By Type Value Request (0x06) len 8 Handle range: 0x0001-0xffff Attribute type: Primary Service (0x2800) UUID: Generic Access Profile (0x1800) < ACL Data TX: Handle 64 flags 0x00 dlen 9 [hci0] 619772.403821 ATT: Find By Type Value Response (0x07) len 4 Handle range: 0x0001-0x0009 With this patch: > ACL Data RX: Handle 64 flags 0x02 dlen 13 [hci0] 618945.922607 ATT: Find By Type Value Request (0x06) len 8 Handle range: 0x0001-0xffff Attribute type: Primary Service (0x2800) UUID: Generic Access Profile (0x1800) < ACL Data TX: Handle 64 flags 0x00 dlen 9 [hci0] 618945.927933 ATT: Find By Type Value Response (0x07) len 4 Handle range: 0x0001-0x0005 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com> Change-Id: I7bb743e8787bc294ba447be5e21e250f0128ec68 |
||
---|---|---|
.. | ||
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 |