Skip to content

Commit 69b08e6

Browse files
Vudentznashif
authored andcommitted
Bluetooth: GATT: Update read/write callback documentation
Update read and write callback documentation regarding local access of the attribute contents. Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 2ba6146 commit 69b08e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/bluetooth/gatt.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ struct bt_gatt_attr {
106106
const struct bt_uuid *uuid;
107107

108108
/** Attribute read callback
109+
*
110+
* The callback can also be used locally to read the contents of the
111+
* attribute in which case no connection will be set.
109112
*
110113
* @param conn The connection that is requesting to read
111114
* @param attr The attribute that's being read
@@ -122,6 +125,9 @@ struct bt_gatt_attr {
122125
u16_t offset);
123126

124127
/** Attribute write callback
128+
*
129+
* The callback can also be used locally to read the contents of the
130+
* attribute in which case no connection will be set.
125131
*
126132
* @param conn The connection that is requesting to write
127133
* @param attr The attribute that's being written

0 commit comments

Comments
 (0)