No description
Find a file
Mariusz Skamra de6029ee25 Bluetooth: GATT: Fix Find by 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:

> 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
2016-02-05 20:25:20 -05:00
arch quark_se: Add default configuration for Nordic BLE iface 2016-02-05 20:25:19 -05:00
boards kconfig: Add missing board definition 2016-02-05 20:25:16 -05:00
doc doc: Update bluetooth SM PICS to PTS 6.4 2016-02-05 20:25:18 -05:00
drivers Bluetooth: Add stubs for directed advertising API 2016-02-05 20:25:19 -05:00
include Bluetooth: GATT: Add support for static DB 2016-02-05 20:25:20 -05:00
kernel interrupts: new static IRQ API 2016-02-05 20:25:17 -05:00
lib newlib: Rename exit to _exit 2016-02-05 20:25:16 -05:00
misc kconfig: add mising option TASK_DEBUG 2016-02-05 20:25:13 -05:00
net Bluetooth: GATT: Fix Find by Type response 2016-02-05 20:25:20 -05:00
samples Bluetooth: Make peripheral sample use CONFIG_BLUETOOTH_GATT_DYNAMIC_DB 2016-02-05 20:25:20 -05:00
scripts build: do not use link-zephyr 2016-02-05 20:25:15 -05:00
.checkpatch.conf checkpatch: Remove --no-signoff option 2016-02-05 20:25:12 -05:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore gitignore: Add vim temporary files 2016-02-05 20:25:14 -05:00
.mailmap Update .mailmap 2016-02-05 20:24:37 -05:00
Kbuild remove already resolved GENOFFSET_H dependency 2016-02-05 20:25:16 -05:00
Kconfig sanitize use of ARCH/SRCARCH 2016-02-05 20:25:04 -05:00
Kconfig.zephyr kconfig: define architecture as a kconfig variable 2016-02-05 20:24:52 -05:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
Makefile kbuild: remove linux modules related code 2016-02-05 20:25:17 -05:00
Makefile.inc mingw: change backslashes to forward slashes 2016-02-05 20:25:17 -05:00
zephyr-env.sh mingw: Use windows path style when building with MinGW 2016-02-05 20:25:16 -05:00