zephyr/include/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
..
mesh Bluetooth: Change from bitfields to normal types 2019-06-12 15:51:04 +03:00
services subsys: bluetooth: services: dev. information service enhancements 2018-11-07 18:08:05 +01:00
a2dp-codec.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
a2dp.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
att.h Bluetooth: Add definitions for GATT Caching 2019-02-08 18:07:34 +02:00
avdtp.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
bluetooth.h Bluetooth: extending API for OOB pairing 2019-05-27 13:50:46 +02:00
buf.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
conn.h Bluetooth: extending API for OOB pairing 2019-05-27 13:50:46 +02:00
controller.h Bluetooth: Controller: Add support for setting public address 2018-09-21 12:40:10 +02:00
crypto.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gatt.h Bluetooth: Simplify bt_gatt_notify_cb() API 2019-06-15 10:37:19 +03:00
hci_raw.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
hci_vs.h Bluetooth: controller: Preliminary work in progress mesh ext. 2019-01-23 09:45:06 +01:00
hci.h Bluetooth: Add support for vendor-specific events 2019-05-20 13:33:36 +02:00
hfp_hf.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
l2cap.h Bluetooth: Fix BT_ATT_ENFORCE_FLOW 2019-06-05 16:45:57 +03:00
mesh.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
rfcomm.h Bluetooth: Remove custom stack macros 2018-10-19 14:50:22 +02:00
sdp.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
testing.h Bluetooth: testing: Exclude Mesh related code if BT_MESH not set 2018-09-19 10:48:39 +03:00
uuid.h Bluetooth: Add definitions for GATT Caching 2019-02-08 18:07:34 +02:00