#wifi #micro-controller #esp32-c3

esp32c3_wifi

A Rust library for managing WiFi on the ESP32-C3 microcontroller

2 releases

0.1.3 Oct 12, 2024
0.1.2 Oct 10, 2024

#3 in #esp32-c3

Download history 258/week @ 2024-10-07 56/week @ 2024-10-14

314 downloads per month

MIT/Apache

5KB
57 lines

use crate

[dependencies]
esp32c3_wifi = "0.1.3"

use conn wifi

    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)?;

Dependencies

~5–14MB
~186K SLoC