mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-15 00:05:22 +00:00
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> |
||
---|---|---|
arch | ||
config | ||
doc | ||
drivers | ||
include | ||
kernel | ||
lib/libc | ||
misc | ||
net | ||
samples | ||
scripts | ||
shared/include/nanokernel/x86 | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
Kconfig | ||
Makefile | ||
Makefile.inc | ||
zephyr-env.sh |