Skip to content

Commit 3db3307

Browse files
Pieloafgmarull
authored andcommitted
[nrf fromtree] doc: Added note regarding the intended use for secondary services
Noting that secondary services should only be included in other services or higher level specification. Signed-off-by: Pierce Lowe <[email protected]> (cherry picked from commit 0be57d3) Signed-off-by: Herman Berget <[email protected]>
1 parent 8800c2b commit 3db3307

File tree

1 file changed

+3
-0
lines changed
  • include/zephyr/bluetooth

1 file changed

+3
-0
lines changed

include/zephyr/bluetooth/gatt.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,9 @@ ssize_t bt_gatt_attr_read_service(struct bt_conn *conn,
622622
*
623623
* Helper macro to declare a secondary service attribute.
624624
*
625+
* @note A secondary service is only intended to be included from a primary
626+
* service or another secondary service or other higher layer specification.
627+
*
625628
* @param _service Service attribute value.
626629
*/
627630
#define BT_GATT_SECONDARY_SERVICE(_service) \

0 commit comments

Comments
 (0)