zephyr/include/bluetooth
Luiz Augusto von Dentz 14ff92cea0 Bluetooth: Handle ATT execute write request
This introduce a new callback called flush to bt_gatt_attr to indicate
when and attribute can cache data, the data is automatically flushed if
regular write request happens and in case of prepare write it checks if
flush is supported otherwise return an error, then upon receiving an
execute write it perform flush over the entire database and respond
with result:

< ACL Data TX: Handle 42 flags 0x00 dlen 6
      ATT: Execute Write Request (0x18) len 1
        Flags: Immediately write all pending values (0x01)
> ACL Data RX: Handle 42 flags 0x02 dlen 5
      ATT: Execute Write Response (0x19) len 0

Change-Id: I2c47f962858b8a741bf40509a648fe2cd6755691
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-02-05 20:14:19 -05:00
..
bluetooth.h Bluetooth: Add callbacks for connections 2016-02-05 20:14:18 -05:00
buf.h Bluetooth: Reorganize buffer variable for smaller size 2016-02-05 20:14:18 -05:00
gatt.h Bluetooth: Handle ATT execute write request 2016-02-05 20:14:19 -05:00
hci.h Bluetooth: Track role for connections 2016-02-05 20:14:19 -05:00
uuid.h Bluetooth: Add Device Information Service to peripheral sample 2016-02-05 20:14:18 -05:00