Skip to content

Commit 644fe57

Browse files
Pieloafmbolivar-nordic
authored andcommitted
[nrf fromtree] doc: Documenting value of bt_gatt_attr->perm after bt_gatt_discover()
Permissions can't be discovered so attr->perm is always 0 when returned from bt_gatt_discover() Signed-off-by: Pierce Lowe <[email protected]> Signed-off-by: Herman Berget <[email protected]> (cherry picked from commit 8800c2b)
1 parent d45f136 commit 644fe57

File tree

1 file changed

+4
-1
lines changed
  • include/zephyr/bluetooth

1 file changed

+4
-1
lines changed

include/zephyr/bluetooth/gatt.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ struct bt_gatt_attr {
172172
void *user_data;
173173
/** Attribute handle */
174174
uint16_t handle;
175-
/** Attribute permissions */
175+
/** @brief Attribute permissions.
176+
*
177+
* Will be 0 if returned from bt_gatt_discover().
178+
*/
176179
uint16_t perm;
177180
};
178181

0 commit comments

Comments
 (0)