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:
Luiz Augusto von Dentz 2019-03-21 11:30:02 +02:00 committed by Anas Nashif
commit 69b08e6efc

View file

@ -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