No description
Find a file
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
boards adc : ti : only one instance 2016-02-10 11:23:56 -05:00
doc doc: fixed include path for input directories 2016-02-10 03:30:50 +00:00
drivers adc : rename device to just ADC 2016-02-10 11:23:56 -05:00
include Bluetooth: GATT: Refactor subscription API 2016-02-10 18:52:29 -05:00
kernel logger: include task monitor in kernel event logger 2016-02-09 13:53:41 -05:00
lib tinycrypt: Fix compilation with ECC enabled 2016-02-10 22:14:58 +00:00
misc init: use SYS_INIT() where it makes sense 2016-02-05 20:25:25 -05:00
net Bluetooth: GATT: Refactor subscription API 2016-02-10 18:52:29 -05:00
samples Bluetooth: GATT: Refactor subscription API 2016-02-10 18:52:29 -05:00
scripts sanitycheck: add testcase.ini field for slow tests 2016-02-10 22:12:55 +00:00
.checkpatch.conf checkpatch: Remove --no-signoff option 2016-02-05 20:25:12 -05:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore gitignore: Add vim temporary files 2016-02-05 20:25:14 -05:00
.mailmap Update .mailmap 2016-02-05 20:24:37 -05:00
Kbuild remove already resolved GENOFFSET_H dependency 2016-02-05 20:25:16 -05:00
Kconfig sanitize use of ARCH/SRCARCH 2016-02-05 20:25:04 -05:00
Kconfig.zephyr kconfig: define architecture as a kconfig variable 2016-02-05 20:24:52 -05:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
Makefile Zephyr v1.0.0 2016-02-08 21:32:24 -05:00
Makefile.inc build: fix parallel builds of applications 2016-02-05 20:25:30 -05:00
zephyr-env.sh mingw: Use windows path style when building with MinGW 2016-02-05 20:25:16 -05:00