diff --git a/Cargo.toml b/Cargo.toml index cb23ecf..038f877 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,10 @@ rust-version = "1.77" embedded-svc = { git = "https://github.com/esp-rs/embedded-svc" } esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc", branch = "gatt" } #esp-idf-svc = { path = "../esp-idf-svc" } -rs-matter = { git = "https://github.com/ivmarkov/rs-matter", branch = "wifi" } -rs-matter-macros = { git = "https://github.com/ivmarkov/rs-matter", branch = "wifi" } -#rs-matter = { path = "../rs-matter/rs-matter" } -#rs-matter-macros = { path = "../rs-matter/rs-matter-macros" } +#rs-matter = { git = "https://github.com/ivmarkov/rs-matter", branch = "wifi" } +#rs-matter-macros = { git = "https://github.com/ivmarkov/rs-matter", branch = "wifi" } +rs-matter = { path = "../rs-matter/rs-matter" } +rs-matter-macros = { path = "../rs-matter/rs-matter-macros" } [profile.release] opt-level = "s" diff --git a/src/stack.rs b/src/stack.rs index c8be04d..8ae62c6 100644 --- a/src/stack.rs +++ b/src/stack.rs @@ -236,7 +236,7 @@ where P: NvsPartitionId, { // Reset the Matter transport buffers and all sessions first - self.matter().reset(); + self.matter().reset_transport()?; let mut psm = pin!(self.run_psm(nvs, nvs::Network::<0, NoopRawMutex>::Eth)); let mut respond = pin!(self.run_responder(handler));