From 8363d4cc11cb021d782fd382875935d40322eab5 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Sun, 2 Jun 2024 11:12:57 +0000 Subject: [PATCH] Need HandlerCompat now that WifiComm is not async --- src/wifi/comm.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wifi/comm.rs b/src/wifi/comm.rs index 155fe8b..a9ff5f5 100644 --- a/src/wifi/comm.rs +++ b/src/wifi/comm.rs @@ -4,7 +4,7 @@ use log::{error, info, warn}; use rs_matter::data_model::objects::{ AttrDataEncoder, AttrDataWriter, AttrDetails, AttrType, CmdDataEncoder, CmdDetails, Dataver, - Handler, + Handler, NonBlockingHandler, }; use rs_matter::data_model::sdm::nw_commissioning::{ AddWifiNetworkRequest, Attributes, Commands, ConnectNetworkRequest, ConnectNetworkResponse, @@ -443,6 +443,8 @@ where } } +impl<'a, const N: usize, M> NonBlockingHandler for WifiNwCommCluster<'a, N, M> where M: RawMutex {} + // impl ChangeNotifier<()> for WifiCommCluster { // fn consume_change(&mut self) -> Option<()> { // self.data_ver.consume_change(())