zephyr/subsys/bluetooth/host
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
a2dp_internal.h
a2dp.c Bluetooth: Switch from SYS_LOG to logger-based logging 2018-10-19 14:50:22 +02:00
at.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
at.h
att_internal.h Bluetooth: Add possibility to pass a user_data to conn_tx_cb_t 2019-05-29 16:31:03 +03:00
att.c Bluetooth: ATT: Fix unbalanced use of k_sem_give 2019-06-14 15:55:07 +03:00
avdtp_internal.h
avdtp.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
conn_internal.h Bluetooth: conn: Defer bt_conn_tx callback to system wq 2019-06-04 09:52:47 +03:00
conn.c Bluetooth: conn: Defer bt_conn_tx callback to system wq 2019-06-04 09:52:47 +03:00
crypto.c Bluetooth: Switch from SYS_LOG to logger-based logging 2018-10-19 14:50:22 +02:00
crypto.h
ecc.h
gatt_internal.h Bluetooth: GATT: Fix not clearing Client Features 2019-04-11 12:04:53 +03:00
gatt.c Bluetooth: Simplify bt_gatt_notify_cb() API 2019-06-15 10:37:19 +03:00
hci_core.c Bluetooth: Fix building of broadcaster or observer only 2019-06-04 14:08:59 +02:00
hci_core.h Bluetooth: Fix not accepting string equal to CONFIG_BT_DEVICE_NAME_MAX 2019-04-01 17:51:41 +03:00
hci_ecc.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
hci_ecc.h
hci_raw_internal.h
hci_raw.c Bluetooth: Switch from SYS_LOG to logger-based logging 2018-10-19 14:50:22 +02:00
hfp_hf.c misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
hfp_internal.h
Kconfig drivers/bluetooth/hci: Implement HCI driver for stm32wb 2019-06-03 09:38:19 -04:00
Kconfig.gatt Bluetooth: GATT: Disable flow control if running with POSIX_ARCH 2019-06-04 09:52:47 +03:00
Kconfig.l2cap Bluetooth: L2CAP: Move Kconfig option to its own it own file 2019-05-29 16:31:03 +03:00
keys_br.c Bluetooth: Switch from SYS_LOG to logger-based logging 2018-10-19 14:50:22 +02:00
keys.c Bluetooth: host: Fix bt_keys_get_addr() 2019-05-30 13:21:16 +02:00
keys.h Bluetooth: host: Allow to disable legacy pairing. 2018-10-16 14:25:56 +03:00
l2cap_br.c Bluetooth: L2CAP: Move fixed channels to its own section in ROM 2019-05-29 16:31:03 +03:00
l2cap_internal.h Bluetooth: Add possibility to pass a user_data to conn_tx_cb_t 2019-05-29 16:31:03 +03:00
l2cap.c Bluetooth: L2CAP: Fix inverting of SCID and DCID on disconnect 2019-06-13 14:33:27 +03:00
monitor.c subsystems: Rename reserved function names 2019-04-03 17:31:00 -04:00
monitor.h
rfcomm_internal.h
rfcomm.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
sdp_internal.h
sdp.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
settings.c subsys/settings: Add const modifier to the value pointer 2019-05-29 10:11:12 -04:00
settings.h linker generated list: introduce Z_STRUCT_SECTION_ITERABLE() 2019-06-06 14:21:32 -07:00
smp_null.c Bluetooth: L2CAP: Move fixed channels to its own section in ROM 2019-05-29 16:31:03 +03:00
smp.c style: add braces around if/while statements 2019-06-06 15:20:21 +02:00
smp.h Bluetooth: smp: adding LE SC OOB support for peripheral side 2019-05-27 13:50:46 +02:00
testing.c Bluetooth: testing: Exclude Mesh related code if BT_MESH not set 2018-09-19 10:48:39 +03:00
testing.h Bluetooth: testing: Exclude Mesh related code if BT_MESH not set 2018-09-19 10:48:39 +03:00
uuid.c style: add braces around if/while statements 2019-06-06 15:20:21 +02:00