From 18688ae733d2e204bb0c5a810751fda07b94d443 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Mon, 16 May 2022 13:26:11 -0400 Subject: Add support for `write_without_response` on server characteristics. Sets the appropriate flag in the Softdevice database. --- nrf-softdevice/src/ble/gatt_server.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nrf-softdevice') diff --git a/nrf-softdevice/src/ble/gatt_server.rs b/nrf-softdevice/src/ble/gatt_server.rs index 6c7eb8c..398f88d 100644 --- a/nrf-softdevice/src/ble/gatt_server.rs +++ b/nrf-softdevice/src/ble/gatt_server.rs @@ -15,6 +15,7 @@ pub struct Characteristic { pub uuid: Uuid, pub can_read: bool, pub can_write: bool, + pub can_write_without_response: bool, pub can_notify: bool, pub can_indicate: bool, pub max_len: usize, @@ -107,6 +108,9 @@ pub fn register_service(_sd: &Softdevice) -> Result