zephyr/include
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
..
app_memory license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
arch arch/x86/Kconfig: remove CONFIG_CMOV 2019-06-14 05:49:13 -04:00
audio all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
bluetooth Bluetooth: Simplify bt_gatt_notify_cb() API 2019-06-15 10:37:19 +03:00
cmsis_rtos_v1 all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
cmsis_rtos_v2 CMSIS RTOS V2: Introduce CMSIS RTOS V2 API header file 2018-12-20 12:23:22 +01:00
crypto all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
debug include: remove unused header file gdb_server.h 2019-01-22 07:45:22 -05:00
dfu dfu: mcuboot: Added defines for upgrade request modes 2019-05-21 15:31:00 -04:00
display arch/x86: drivers/display: add framebuffer driver w/ multiboot support 2019-06-06 10:47:29 -07:00
drivers drivers/pcie/shell: add basic probe for MSI-X capability 2019-06-10 10:52:02 -04:00
dt-bindings dts: bindings: usb: Add enum to maximum-speed property 2019-05-17 09:53:20 -05:00
fs headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
linker linker generated list: provide an iterator to simplify list access 2019-06-06 14:21:32 -07:00
logging logging: Add option to detect missed transient string duplication 2019-05-29 13:52:31 +02:00
mgmt smp: shell: Add support for SMP in new shell. 2019-01-15 17:19:20 -05:00
misc INT_TO_POINTER macros: make 64-bit compatible 2019-06-12 08:20:52 -07:00
net net: make __net_buf_align 64-bit compatible 2019-06-12 09:18:08 +03:00
nvs fs/nvs: Improve init speed and remove fs->locked 2019-02-21 09:32:52 -05:00
posix PTHREAD_MUTEX_DEFINE(): don't store into the _k_mutex section 2019-06-04 09:24:08 -04:00
random headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
settings subsys/settings: Add const modifier to the value pointer 2019-05-29 10:11:12 -04:00
shell doc: fix doxygen comments with embedded reST 2019-06-10 18:16:12 -04:00
toolchain linker generated list: provide an iterator to simplify list access 2019-06-06 14:21:32 -07:00
usb usb: Align legacy and composite interface 2019-05-27 09:25:06 -04:00
zephyr jwt: Add JSON web token library 2019-02-08 15:32:58 -06:00
adc.h drivers: adc: add API to support calibration 2019-05-30 17:18:17 -04:00
aio_comparator.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
atomic.h include: Make statements evaluate boolean expressions 2019-03-26 14:31:29 -04:00
base64.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
cache.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
can.h drivers: can: Add loopback driver 2019-05-12 16:54:49 -04:00
clock_control.h C++: Fix compilation error "invalid conversion" 2019-05-03 14:27:07 -04:00
console.h console: deprecate console_register_line_input() 2019-03-26 12:48:38 -05:00
counter.h drivers: counter: Add flags to counter_config_info structure 2019-05-27 09:18:34 -04:00
crc.h crc: Move crc7 into CRC single header 2018-12-30 16:24:10 -05:00
device.h linker generated list: explicit alignment on data definitions 2019-06-06 14:21:32 -07:00
disk_access.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
display.h drivers: display: Add RGB 565 pixel format to display api 2019-02-07 14:28:55 -06:00
dma.h api: dma: add api to retrieve runtime status 2019-05-07 22:14:36 -04:00
entropy.h entropy: fix C++ compiler warnings 2019-05-21 08:26:12 -04:00
exc_handle.h kernel: Fix type of Z_EXC_HANDLE 2018-11-16 09:18:27 -08:00
fcb.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
flash.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
flash_map.h doc: Fix typos in flashmap.h 2019-05-28 12:27:43 -04:00
fs.h fs: Added API to read mount point 2019-06-11 08:31:54 -04:00
generated_dts_board.h cmake: Fix the generation of fixup files 2019-01-28 12:18:38 -05:00
gna.h doc: regular misspelling scan 2018-12-26 13:27:14 -05:00
gpio.h include: Make statements evaluate boolean expressions 2019-03-26 14:31:29 -04:00
hwinfo.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
i2c.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
i2s.h include: Use macro BIT for shift operations 2019-03-26 14:31:29 -04:00
init.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
ipm.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
irq.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
irq_nextlevel.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
irq_offload.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
json.h json: make it 64-bit compatible 2019-06-05 07:47:41 -04:00
kernel.h k_stack: make it 64-bit compatible 2019-06-14 05:46:29 -04:00
kernel_includes.h kernel/work_q: Spinlockify 2019-02-08 14:49:39 -05:00
kernel_version.h doc: add kernel version API to doxygen 2018-12-08 17:24:53 -05:00
led.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
led_strip.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
pinmux.h C++: Fix compilation error "invalid conversion" 2019-05-03 14:27:07 -04:00
power.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
ptp_clock.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
pwm.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
ring_buffer.h ring_buffer: Add functions for getting capacity and reseting 2019-05-30 09:44:03 -04:00
rtc.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
sched_priq.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
sensor.h include: added new sensor channel SENSOR_CHAN_GAS_RES 2019-05-31 10:27:13 -05:00
shared_irq.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
spi.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
spinlock.h thread_cpu: make it 64-bit compatible 2019-05-30 09:42:23 -04:00
stats.h stats: changed API to use zephyr types 2019-05-01 10:33:17 -04:00
sw_isr_table.h include: Use macro BIT for shift operations 2019-03-26 14:31:29 -04:00
sys_clock.h kernel: timeout: add syscall for runtime clk freq 2019-05-22 23:33:55 +02:00
sys_io.h misc: memory address type conversions 2019-06-03 21:14:57 -04:00
syscall.h syscall: Fix comment 2019-04-12 17:59:25 -04:00
toolchain.h toolchain: Define a HAS_BUILTIN(x) macro in toolchain.h. 2019-05-14 19:53:30 -05:00
tracing.h tracing: Fix checks of Kconfig options 2019-05-17 15:46:18 -07:00
tty.h doc: regular misspelling scan 2018-12-26 13:27:14 -05:00
uart.h include/uart.h: Clarify async receive event length 2019-05-27 09:23:39 -04:00
updatehub.h lib: updatehub: Add UpdateHub.io support 2019-06-05 00:20:37 +02:00
watchdog.h doc: fix watchdog API documentation 2019-04-26 19:14:54 -07:00
zephyr.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00