zephyr/include
Szymon Janc 51ac70d42b Bluetooth: GATT: Refactor subscription API
This removes destroy callback for userdata as bt_gatt_subscribe
doesn't take any user data parameters and that destroy callback
was acctually called with subscribe parameters.

We assume subscription is active if bt_gatt_subscribe returned 0
(ie write command was sent). This is due to remote might be sending
notifications before reply to write.

Also note that bt_gatt_subscribe doesn't take any user data parameters
and that destroy callback was acctually called with subscribe
parameters.

If application would require to pass user data along with parameters
it may use CONTAINER_OF macro along with bt_gatt_subscribe_params.

Change-Id: I58ac9cd481ffa08ccc2d7a0464ca75f61fb280c5
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
2016-02-10 18:52:29 -05:00
..
arch x86: add debug function to dump IDT 2016-02-10 16:02:17 +00:00
bluetooth Bluetooth: GATT: Refactor subscription API 2016-02-10 18:52:29 -05:00
display c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
drivers cc2520: Reworking radio on and transmission logic 2016-02-05 20:25:23 -05:00
microkernel c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
misc logger: include task monitor in kernel event logger 2016-02-09 13:53:41 -05:00
net net: Stack analyze function fixed 2016-02-05 20:25:32 -05:00
toolchain toolchain: check if both __aligned and __packed are defined 2016-02-05 20:25:31 -05:00
adc.h struct packing 2016-02-10 16:21:26 +00:00
aio_comparator.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
atomic.h
cache.h cache: add implementation for cache-less systems 2016-02-05 20:25:24 -05:00
clock_control.h clock: add Quark SE clock control 2016-02-05 20:24:48 -05:00
device.h device: fix race condition in device_sync if ISR runs before thread waits 2016-02-10 02:08:30 +00:00
gpio.h gpio: allow pins to be enabled/disabled 2016-02-05 20:25:29 -05:00
i2c.h struct packing 2016-02-10 16:21:26 +00:00
init.h init: add SYS_INIT() 2016-02-05 20:25:25 -05:00
ipm.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
irq_offload.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
kernel_version.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
linker-defs.h init: Add protection against incorrect levels or priorities 2016-02-05 20:24:54 -05:00
linker-tool-gcc.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
linker-tool.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
microkernel.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
nanokernel.h build: Add C++ support 2016-02-05 20:25:23 -05:00
pinmux.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
pwm.h
rtc.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
section_tags.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
sections.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
shared_irq.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
spi.h spi: Fix the spi configuration mode documentation 2016-02-05 20:25:21 -05:00
sw_isr_table.h irq: fix declared _sw_isr_table size on ARC 2016-02-05 20:25:25 -05:00
sys_clock.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
sys_io.h sys_io: include nanokernel.h 2016-02-05 20:24:42 -05:00
toolchain.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
uart.h uart: remove incorrect comment w.r.t. type of device pointer 2016-02-05 20:25:23 -05:00
watchdog.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
zephyr.h