zephyr/subsys/bluetooth
Luiz Augusto von Dentz 80bc21e03c Bluetooth: GATT: Fix warning when attempting to use read callback
When using bt_gatt_discover with BT_GATT_DISCOVER_CHARACTERISTIC the
read callback would be set to bt_gatt_attr_read_chrc which would attempt
to access the next attribute which in this case would not be set since
the value attribute is no fetched by the discovery, the spec actually
omit the value handle saying it should always be the first attribute to
appear after the characteristic thus we can assume it to be handle + 1.

Fixes #12159

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2019-01-03 12:12:10 +01:00
..
common bluetooth: Simplifying log macros 2018-12-13 14:21:25 +01:00
controller Bluetooth: controller: Fix Conn Param Req procedure stall issue 2018-12-19 14:47:38 +01:00
host Bluetooth: GATT: Fix warning when attempting to use read callback 2019-01-03 12:12:10 +01:00
services subsys: bluetooth: services: dev. information service enhancements 2018-11-07 18:08:05 +01:00
shell bt_shell: fix command bt advertise valid argument count 2018-12-18 18:52:00 +02:00
CMakeLists.txt subsys: bluetooth: services: dev. information service enhancements 2018-11-07 18:08:05 +01:00
Kconfig Bluetooth: Define log level at bluetooth subsystem level 2018-11-28 13:52:35 -06:00