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 <luiz.von.dentz@intel.com>
This commit is contained in:
parent
2ba6146f66
commit
69b08e6efc
1 changed files with 6 additions and 0 deletions
|
@ -106,6 +106,9 @@ struct bt_gatt_attr {
|
|||
const struct bt_uuid *uuid;
|
||||
|
||||
/** Attribute read callback
|
||||
*
|
||||
* The callback can also be used locally to read the contents of the
|
||||
* attribute in which case no connection will be set.
|
||||
*
|
||||
* @param conn The connection that is requesting to read
|
||||
* @param attr The attribute that's being read
|
||||
|
@ -122,6 +125,9 @@ struct bt_gatt_attr {
|
|||
u16_t offset);
|
||||
|
||||
/** Attribute write callback
|
||||
*
|
||||
* The callback can also be used locally to read the contents of the
|
||||
* attribute in which case no connection will be set.
|
||||
*
|
||||
* @param conn The connection that is requesting to write
|
||||
* @param attr The attribute that's being written
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue