zephyr/subsys/bluetooth/shell
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
..
bredr.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
bt.c Bluetooth: shell: Fix disconnect command argument count 2019-06-05 16:29:06 +02:00
bt.h Bluetooth: Shell: Convert users of hexdump to shell_hexdump 2019-04-18 17:50:16 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
gatt.c Bluetooth: Simplify bt_gatt_notify_cb() API 2019-06-15 10:37:19 +03:00
hci.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
hci.h Bluetooth: shell: Updates related to new ULL LLL architecture 2019-01-23 09:45:06 +01:00
Kconfig Bluetooth: shell: Remove auto selecting of SERIAL 2018-11-13 20:42:01 +02:00
l2cap.c Bluetooth: shell: Print L2CAP channel status 2019-05-29 16:31:03 +03:00
ll.c bluetooth: shell: Fix uninitialized variable 2019-03-01 09:19:31 +01:00
ll.h Bluetooth: controller: Remove redundant tmp role implementation 2019-02-05 15:00:08 +01:00
rfcomm.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
ticker.c shell: Modify subcommands to use SHELL_STATIC_SUBCMD_SET_CREATE 2019-02-20 07:31:35 -05:00