doc: Bluetooth: Add ATT section in docs

There was no API reference for the ATT APIs.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
This commit is contained in:
Herman Berget 2022-06-21 13:55:52 +02:00 committed by Carles Cufí
parent cc81529d58
commit f28194e38d
4 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,9 @@
.. _bt_att:
Attribute Protocol (ATT)
########################
API Reference
*************
.. doxygengroup:: bt_att

View file

@ -6,6 +6,7 @@ Bluetooth APIs
.. toctree::
:maxdepth: 1
att.rst
audio.rst
connection_mgmt.rst
controller.rst

View file

@ -2256,6 +2256,7 @@ PREDEFINED = __DOXYGEN__ \
CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT \
CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN \
CONFIG_BT_BREDR \
CONFIG_BT_EATT \
CONFIG_BT_MESH_MODEL_EXTENSIONS \
CONFIG_BT_REMOTE_INFO \
CONFIG_BT_USER_DATA_LEN_UPDATE \

View file

@ -10,6 +10,13 @@
#ifndef ZEPHYR_INCLUDE_BLUETOOTH_ATT_H_
#define ZEPHYR_INCLUDE_BLUETOOTH_ATT_H_
/**
* @brief Attribute Protocol (ATT)
* @defgroup bt_att Attribute Protocol (ATT)
* @ingroup bluetooth
* @{
*/
#include <zephyr/sys/slist.h>
#include <zephyr/bluetooth/conn.h>
@ -110,4 +117,8 @@ enum bt_att_chan_opt {
}
#endif
/**
* @}
*/
#endif /* ZEPHYR_INCLUDE_BLUETOOTH_ATT_H_ */