zephyr/subsys/bluetooth
Johan Hedberg 4396dc9c71 Bluetooth: Simplify bt_gatt_notify_cb() API
This API had several issues:

 - The parameter types and order were inconsistent with e.g.
   bt_le_adv_start()
 - There were no real users of num_params, which just caused increased
   code size and memory consumption for no good reason.
 - The error handling policy was arbitrary: if one of the
   notifications would fail it would be impossible for the caller to
   know if some notifications succeeded, i.e. at what point the
   failure happened. Some callers might also want to make note of the
   failure but continue trying to notify for the remaining parameters.

The first issue is easily fixable, but because of the other two I
think it's best we don't have this code as part of the stack, rather
require whoever needs it to do the for loop themselves. It's just a
few lines of code, so the benefit of having this in the stack was
anyway quite minimal.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2019-06-15 10:37:19 +03:00
..
common samples: Bluetooth: hci_uart: Implement NOP Command Complete 2019-04-11 14:54:37 +02:00
controller dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
host Bluetooth: Simplify bt_gatt_notify_cb() API 2019-06-15 10:37:19 +03:00
services Bluetooth: Add additional attributes to DIS 2019-05-08 20:17:07 +03:00
shell Bluetooth: Simplify bt_gatt_notify_cb() API 2019-06-15 10:37:19 +03:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig drivers/bluetooth/hci: Implement HCI driver for stm32wb 2019-06-03 09:38:19 -04:00