zephyr/subsys
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
..
bluetooth Bluetooth: Simplify bt_gatt_notify_cb() API 2019-06-15 10:37:19 +03:00
console console: kconfig: Put 'menuconfig CONSOLE_SUBSYS' in top-level menu 2019-05-15 05:10:01 -05:00
cpp style: add braces around if/while statements 2019-06-06 15:20:21 +02:00
debug arch: arm: remove _preempt_float in unshared FP registers mode 2019-05-03 14:25:22 -04:00
dfu dfu: kconfig: Remove 'DFU Options' menu 2019-05-15 05:02:32 -05:00
disk dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
fb license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fs native_posix: Added support to access flash via FUSE 2019-06-11 08:31:54 -04:00
jwt cmake: Don't have users call zephyr_link_interface on mbedTLS 2019-05-11 08:35:26 -04:00
logging logging: Fix log_strdup detection on non-standard messages 2019-06-14 05:43:46 -04:00
mgmt mcumgr: move Kconfig to main tree 2019-05-31 12:50:09 -04:00
net net: nbr: Set the link address type when saving neighbor data 2019-06-13 19:47:31 +03:00
power Power: Fix various spurious LOG_ERR calls 2019-06-04 09:20:37 -04:00
random rand32_entropy_device.c: remove atomic_t misuse 2019-05-30 09:16:35 -04:00
settings subsys/settings: Cleanup the initialisation of the subsys 2019-06-03 11:58:05 +02:00
shell pointer-type args: cast appropriately to be 64-bit compatible 2019-06-12 08:20:52 -07:00
stats stats: fix Coverity CID :198875 2019-06-07 12:00:02 -04:00
storage subsys/storage/flash_map: Fix returned error codes 2019-05-24 11:13:41 +02:00
testsuite subsys/testsuite/ztest: Fix zassert_mem_equal user message printing 2019-06-04 09:23:24 -04:00
usb style: add braces around if/while statements 2019-06-06 15:20:21 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00