Skip to content

Commit b0bcf53

Browse files
committed
Bluetooth: Doc: Update doxygen groups
Move top most level Bluetooth subsystem related APIs (enable, disable, etc.) under 'bluetooth' group, and rest under 'bt_gap' group. Signed-off-by: Omkar Kulkarni <[email protected]>
1 parent e219da1 commit b0bcf53

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

include/zephyr/bluetooth/bluetooth.h

+23-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@
4545
extern "C" {
4646
#endif
4747

48+
/**
49+
* @defgroup bt_host Bluetooth Host
50+
* @ingroup bluetooth
51+
* @{
52+
*/
53+
4854
/**
4955
* @brief Generic Access Profile (GAP)
5056
*
@@ -59,7 +65,7 @@ extern "C" {
5965
* @defgroup bt_gap Generic Access Profile (GAP)
6066
* @since 1.0
6167
* @version 1.0.0
62-
* @ingroup bluetooth
68+
* @ingroup bt_host
6369
* @{
6470
*/
6571

@@ -285,6 +291,16 @@ struct bt_le_ext_adv_cb {
285291
#endif /* defined(CONFIG_BT_PER_ADV_RSP) */
286292
};
287293

294+
/**
295+
* bt_gap
296+
* @}
297+
*/
298+
299+
/**
300+
* bt_host
301+
* @}
302+
*/
303+
288304
/**
289305
* @typedef bt_ready_cb_t
290306
* @brief Callback for notifying that Bluetooth has been enabled.
@@ -342,6 +358,11 @@ int bt_disable(void);
342358
*/
343359
bool bt_is_ready(void);
344360

361+
/**
362+
* @addtogroup bt_gap
363+
* @{
364+
*/
365+
345366
/**
346367
* @brief Set Bluetooth Device Name
347368
*
@@ -3126,6 +3147,7 @@ int bt_le_per_adv_set_response_data(struct bt_le_per_adv_sync *per_adv_sync,
31263147
bool bt_le_bond_exists(uint8_t id, const bt_addr_le_t *addr);
31273148

31283149
/**
3150+
* bt_gap
31293151
* @}
31303152
*/
31313153

0 commit comments

Comments
 (0)