this removes the ineffable wifimanager crate which brings much too many unneeded dependencies and does not work with a separate flash implementation.
for now wifi credentials can be provided in two ways:
first via environment variables WIFI_SSID and WIFI_PASS and second via a signal WIFI_CREDENTIALS which can be evoked by anyone in the software.
plan is to integrate this into our NFC task such that the credentials can be read via wifi.
this removes the ineffable wifimanager crate which brings much too many unneeded dependencies and does not work with a separate flash implementation.
for now wifi credentials can be provided in two ways:
first via environment variables `WIFI_SSID` and `WIFI_PASS` and second via a signal WIFI_CREDENTIALS which can be evoked by anyone in the software.
plan is to integrate this into our NFC task such that the credentials can be read via wifi.
rhetenor
requested review from ede1998 2026-09-13 14:14:36 +02:00
ede1998
approved these changes 2026-09-13 14:39:42 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
this removes the ineffable wifimanager crate which brings much too many unneeded dependencies and does not work with a separate flash implementation.
for now wifi credentials can be provided in two ways:
first via environment variables
WIFI_SSIDandWIFI_PASSand second via a signal WIFI_CREDENTIALS which can be evoked by anyone in the software.plan is to integrate this into our NFC task such that the credentials can be read via wifi.
@@ -78,3 +82,3 @@///#[unsafe(no_mangle)]pub extern "Rust" fn _embassy_trace_executor_idle(executor_id: u32) {}pub extern "Rust" fn _embassy_trace_executor_idle(_executor_id: u32) {}Nit: remove test code? Or move to separate module only compiled with some
embassy_debugfeature?@@ -51,3 +81,2 @@// Preload connection data so init_wm can connect immediately without AP setup.let nvs = esp_hal_wifimanager::Nvs::new_from_nvs(nvs, 0, 0);// get wifi credentials from env WIFI_SSID; WIFI_PASS (priority) or storageNit: triple
/(///) for doc comments@@ -57,3 +91,1 @@// Wokwi simulation uses a default open network called "Wokwi-GUEST"wm_settings.ssid.clear();_ = core::fmt::write(&mut wm_settings.ssid, format_args!("Wokwi-GUEST"));if env_ssid.is_none() && option_stored_credentials.is_none() {This prevents passwordless wifi networks from working ;D
3c56f6b7e1to4f251de3d5