zephyr/doc
Emil Gydesen b67d291207 Bluetooth: Host: Add type check for bt_conn API
Added a new function, bt_conn_is_type, that returns whether
the provided conn object is of the provided type.

This check is then used to ensure that the conn objects
supplied to other bt_conn function are of the right type.
The right type has also been documented for these functions.

This is an initial commit for a larger change in the BT Host,
as similar checks should be added to the L2CAP, GATT, ISO,
Audio and possibly Mesh APIs.

The type check could have been implemented by using the
bt_conn_get_info function, but that requires additional
function calls as well as memory allocation and copy.
Since bt_conn_is_type is designed to be widely used, it
was suited for its own function.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-02-11 22:04:51 +01:00
..
_doxygen doc: kernel: define additional doxygen groups 2024-09-17 05:24:09 -04:00
_extensions/zephyr doc: boards: extensions: add link to board source to sidebar 2025-01-31 14:03:13 +01:00
_scripts doc: _scripts: gen_devicetree_rest: add individual files 2025-01-07 00:26:08 +01:00
_static doc: boards: extensions: add link to board source to sidebar 2025-01-31 14:03:13 +01:00
_templates doc: enable three-way dark-mode switch 2024-10-16 16:33:24 +01:00
build doc: dts: phandles: fix 'pwms' property name 2025-02-05 17:50:11 +01:00
connectivity doc: Bluetooth: Audio: Update Discord channel name 2025-02-11 18:56:12 +01:00
contribute doc: update zephyr path in docs generation 2025-02-03 11:17:55 +01:00
develop doc: twister: add shell harness doc 2025-02-08 08:13:46 +01:00
hardware doc/hardware/arch/risc-v: update SMP documentation 2025-02-07 17:46:43 +01:00
images
introduction
kernel kernel/pipe: implement direct-to-pending-readers data copy 2025-01-21 19:44:57 +01:00
project doc: review: switch labels to a definition list 2025-01-22 18:33:06 +01:00
releases Bluetooth: Host: Add type check for bt_conn API 2025-02-11 22:04:51 +01:00
safety doc: coding guidelines: move safety related language to saftey section 2025-01-18 02:33:02 +01:00
security doc: security: Disclose CVE-2024-10395 2025-02-05 10:21:04 +01:00
services doc: tracing: fix typo sys_trace_named_event 2025-02-05 05:40:44 +01:00
templates doc: boards: extensions: introduce zephyr:board role and directive 2024-10-22 14:11:27 +02:00
404.rst
CMakeLists.txt doc: get output folder from environment 2024-09-25 13:49:34 -05:00
conf.py doc: update copyright notice in the documentation 2025-01-10 14:56:01 +01:00
glossary.rst doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
index-tex.rst
index.rst doc: reorder tiles 2024-12-25 12:41:09 +01:00
kconfig.rst
LICENSING.rst doc: licensing: clarify the impact of the various files 2025-01-08 17:01:24 +01:00
Makefile doc: add make html-live and html-live-fast 2024-08-26 17:05:39 +02:00
requirements.txt doc: requirements: avoid using pygments v2.19.0 2025-01-05 22:09:44 +01:00
substitutions.txt
zephyr.doxyfile.in net: sockets: Remove deperecated CONFIG_NET_SOCKETS_POSIX_NAMES 2024-12-04 12:09:51 +01:00