summaryrefslogtreecommitdiff
path: root/nrf-softdevice
diff options
context:
space:
mode:
Diffstat (limited to 'nrf-softdevice')
-rw-r--r--nrf-softdevice/src/ble/gatt_server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nrf-softdevice/src/ble/gatt_server.rs b/nrf-softdevice/src/ble/gatt_server.rs
index 124c3ff..ba6bc9c 100644
--- a/nrf-softdevice/src/ble/gatt_server.rs
+++ b/nrf-softdevice/src/ble/gatt_server.rs
@@ -43,7 +43,7 @@ pub trait Server: Sized {
where
F: FnMut(Characteristic, &[u8]) -> Result<CharacteristicHandles, RegisterError>;
- fn on_event<'m>(&self, event: GattEvent<'m>) -> Option<Self::Event>;
+ fn on_write<'m>(&self, event: GattEvent<'m>) -> Option<Self::Event>;
}
#[derive(Debug, PartialEq, Eq, Clone, Copy)]