Skip to content
Permalink
Browse files

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>
  • Loading branch information...
Vudentz authored and nashif committed Mar 21, 2019
1 parent 2ba6146 commit 69b08e6efc16e3b703c8cdbbd7d32a62e47146a0
Showing with 6 additions and 0 deletions.
  1. +6 −0 include/bluetooth/gatt.h
@@ -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

0 comments on commit 69b08e6

Please sign in to comment.
You can’t perform that action at this time.