zephyr/net/bluetooth
Mariusz Skamra 76bc832607 Bluetooth: GATT: Fix Read by Group Type response
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:

      ATT: Read By Group Type Response (0x11) len 13
        Attribute data length: 6
        Attribute group list: 2 entries
        Handle range: 0x0001-0x0009
        UUID: Generic Access Profile (0x1800)
        Handle range: 0x000a-0x000e
        UUID: Unknown (0xaa50)

With this patch:

      ATT: Read By Group Type Response (0x11) len 13
        Attribute data length: 6
        Attribute group list: 2 entries
        Handle range: 0x0001-0x0005
        UUID: Generic Access Profile (0x1800)
        Handle range: 0x000a-0x000e
        UUID: Unknown (0xaa50)

Change-Id: I8121521e76476826296a2bedf9e18ef008f81363
Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
2016-02-05 20:25:19 -05:00
..
att.c Bluetooth: GATT: Fix Read by Group Type response 2016-02-05 20:25:19 -05:00
att.h Bluetooth: Make Kconfig buffer sizes follow MTU sizes 2016-02-05 20:24:45 -05:00
conn.c Bluetooth: Add stubs for directed advertising API 2016-02-05 20:25:19 -05:00
conn_internal.h Bluetooth: Move bt_auth_* implementation to conn.c 2016-02-05 20:25:19 -05:00
gatt.c Bluetooth: GATT: Fix warning message 2016-02-05 20:25:18 -05:00
gatt_internal.h Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
hci_core.c Bluetooth: Move bt_auth_* implementation to conn.c 2016-02-05 20:25:19 -05:00
hci_core.h Bluetooth: Add bt_conn prefix for auth APIs 2016-02-05 20:25:19 -05:00
Kconfig Bluetooth: Kconfig: Add config option for dynamic GATT db 2016-02-05 20:25:19 -05:00
keys.c Bluetooth: Move all bt_conn related APIs to conn.h 2016-02-05 20:25:19 -05:00
keys.h Bluetooth: Reduce bt_keys size 2016-02-05 20:25:18 -05:00
l2cap.c Bluetooth: Move all bt_conn related APIs to conn.h 2016-02-05 20:25:19 -05:00
l2cap_internal.h Bluetooth: Move BT_L2CAP_BUF_SIZE to a more appropriate place 2016-02-05 20:24:45 -05:00
Makefile Bluetooth: Always compile in UUID support 2016-02-05 20:24:40 -05:00
smp.c Bluetooth: Move all bt_conn related APIs to conn.h 2016-02-05 20:25:19 -05:00
smp.h Bluetooth: SMP: Return errors from authentication APIs 2016-02-05 20:25:19 -05:00
smp_null.c Bluetooth: Move all bt_conn related APIs to conn.h 2016-02-05 20:25:19 -05:00
stack.h Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
uuid.c Bluetooth: UUID: Introduce bt_uuid_copy 2016-02-05 20:25:09 -05:00