zephyr/subsys
Mariusz Skamra e6b73b08e6 Bluetooth: gatt: Update bt_gatt_is_subscribed documentation
This updates the documentation of bt_gatt_is_subscribed function that
can take a bitfield of BT_GATT_CCC_NOTIFY and BT_GATT_CCC_INDICATE.
This might be useful if one wants to test if peer is subscribed, but
does not matter which method was used.

The gatt.c implementation handles API usage already, because it performs
bitwise AND:
if (bt_conn_is_peer_addr_le(conn, cfg->id, &cfg->peer) &&
    (ccc_value & ccc->cfg[i].value)) {
	return true;
}

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2022-05-04 18:56:36 -04:00
..
bluetooth Bluetooth: gatt: Update bt_gatt_is_subscribed documentation 2022-05-04 18:56:36 -04:00
canbus canbus: isotp: remove superfluous default n for boolean 2022-04-19 11:49:27 +02:00
console
cpp kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
debug debug: generate call graph profile data using gprof 2022-04-22 16:04:08 -04:00
demand_paging
dfu kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
disk everywhere: fix typos 2022-03-18 13:24:08 -04:00
emul everywhere: fix typos 2022-03-18 13:24:08 -04:00
fb cfb: support for HPACKED fonts 2022-04-06 09:49:00 -05:00
fs fs: Kconifg: use rsource instead of source for local Kconfigs 2022-04-11 12:12:20 +02:00
ipc openamp: Bump to v2022.04.0 2022-05-02 08:44:17 -05:00
jwt
logging logging: cAVS HDA based logger 2022-05-04 18:56:13 -04:00
lorawan lorawan: adding settings NVM for LoRaWAN 2022-05-02 10:56:02 +02:00
mgmt mgmt/mcumgr/lib: doc: Minor fixes to zcbor_bulk documentation 2022-04-19 11:35:16 +02:00
modbus modbus: stop bits can now be set individually in client mode 2022-03-24 08:23:17 -04:00
net net: lwm2m: LwM2M timeout recovery 2022-05-04 09:50:28 -05:00
pm pm: policy: Consider substates for state lock functions 2022-04-28 16:32:23 +02:00
portability include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
random random: rand32_ctr_drbg: fix bug preventing initialization 2022-03-23 07:42:34 -05:00
sd sd: Add sdmmc protocol stack 2022-04-29 14:21:36 -05:00
settings settings: Add support for overriding settings partition 2022-03-24 08:16:46 -04:00
shell shell: fix missing "update" for the last RXRDY signal 2022-04-29 16:11:43 +02:00
stats stats: fixed implicit integer sign extension in stats_get_off() 2021-10-28 15:15:56 -04:00
storage everywhere: fix typos 2022-03-18 13:24:08 -04:00
task_wdt task_wdt: fix overflow in current_ticks making wdt get stuck 2021-11-22 20:22:11 -05:00
testsuite Revert "ztest: Fix userspace ztests in new API" 2022-04-26 18:55:32 -04:00
timing
tracing subsys/tracing: Use z_current_get for thread tracing 2022-04-28 11:09:01 +09:00
usb include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
CMakeLists.txt sd: Add common SD initialization code 2022-04-29 14:21:36 -05:00
Kconfig sd: Add common SD initialization code 2022-04-29 14:21:36 -05:00