Bluetooth: GATT: Add BT_GATT_WRITE_FLAG_EXECUTE flag
Add the BT_GATT_WRITE_FLAG_EXECUTE flag that indicates whether a write callback is from an ATT execute write. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
88d0ad5b3e
commit
b78cd855b8
2 changed files with 10 additions and 0 deletions
|
@ -98,6 +98,14 @@ enum {
|
|||
* response) which doesn't generate any response.
|
||||
*/
|
||||
BT_GATT_WRITE_FLAG_CMD = BIT(1),
|
||||
|
||||
/** @brief Attribute write execute flag
|
||||
*
|
||||
* If set, indicates that write operation is a execute, which indicates
|
||||
* the end of a long write, and will come after 1 or more
|
||||
* @ref BT_GATT_WRITE_FLAG_PREPARE.
|
||||
*/
|
||||
BT_GATT_WRITE_FLAG_EXECUTE = BIT(2),
|
||||
};
|
||||
|
||||
/** @brief GATT Attribute structure. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue