No description
Find a file
Mariusz Skamra dd0186c4d0 Bluetooth: GATT: Fix Read By Type response for Include attribute type
In Read By Type response, GATT Server shall send UUID of a included
service only if this service UUID is 16 bit. Otherwise GATT Client
will send Read Request to get 128 bit UUID.

Fix tested with PTS.

> ACL Data RX: Handle 64 flags 0x02 dlen 11     [hci0] 1125351.430506
      ATT: Read By Type Request (0x08) len 6
        Handle range: 0x0001-0xffff
        Attribute type: Include (0x2802)

< ACL Data TX: Handle 64 flags 0x00 dlen 12     [hci0] 1125351.435346
      ATT: Read By Type Response (0x09) len 7
        Attribute data length: 6
        Attribute data list: 1 entry
        Handle: 0x0002
        Value: 01000200

> ACL Data RX: Handle 64 flags 0x02 dlen 7      [hci0] 1125351.605504
      ATT: Read Request (0x0a) len 2
        Handle: 0x0001

< ACL Data TX: Handle 64 flags 0x00 dlen 21     [hci0] 1125351.613432
      ATT: Read Response (0x0b) len 16
        Value: efcdab89674523b10040510450aa00f0

Change-Id: Ie07ec7930663b04dc134ee1c5a95c4e0670f5926
Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
2016-02-05 20:25:17 -05:00
arch x86: iamcu: fix implementation of disable_interrupts() 2016-02-05 20:25:17 -05:00
boards kconfig: Add missing board definition 2016-02-05 20:25:16 -05:00
doc doc: Add bluetooth PTS 6.3 PICS file for GATT service 2016-02-05 20:25:17 -05:00
drivers Bluetooth: drivers/h5: Further simplify parsing logic 2016-02-05 20:25:17 -05:00
include Bluetooth: GATT: Split Authorization Permission for Read and Write 2016-02-05 20:25:17 -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 Read By Type response for Include attribute type 2016-02-05 20:25:17 -05:00
samples spi: Make the API fully synchronous 2016-02-05 20:25:17 -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