| Crates.io | esp32c3_wifi |
| lib.rs | esp32c3_wifi |
| version | 0.1.3 |
| created_at | 2024-10-10 17:45:40.635724+00 |
| updated_at | 2024-10-12 13:34:29.782051+00 |
| description | A Rust library for managing WiFi on the ESP32-C3 microcontroller. |
| homepage | https://github.com/banchen21/esp32c3_wifi |
| repository | https://github.com/banchen21/esp32c3_wifi.git |
| max_upload_size | |
| id | 1404075 |
| size | 6,186 |
[dependencies]
esp32c3_wifi = "0.1.3"
esp_idf_svc::sys::link_patches();
esp_idf_svc::log::EspLogger::initialize_default();
let peripherals = Peripherals::take().unwrap();
let sysloop = EspSystemEventLoop::take()?;
let ssid = "test";
let pass = "";
let auth_method = AuthMethod::None;
let _wifi = wifi(ssid, pass, auth_method, peripherals.modem, sysloop)?;