Allow read for auto button
This commit is contained in:
@ -185,7 +185,7 @@ impl BleServer {
|
||||
// --- Button Auto Bluetooth GATT --------------------------------------------------------
|
||||
let button_auto = lift_service.lock().create_characteristic(
|
||||
UUID_BUTTON_AUTO,
|
||||
NimbleProperties::WRITE,
|
||||
NimbleProperties::WRITE| NimbleProperties::READ,
|
||||
);
|
||||
button_auto.lock().set_value(&[0])
|
||||
.on_write(closure!(clone sender, |args: &mut OnWriteArgs| {
|
||||
|
||||
Reference in New Issue
Block a user