esp32c3_wifi 0.1.3

A Rust library for managing WiFi on the ESP32-C3 microcontroller.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# use crate
```toml
[dependencies]
esp32c3_wifi = "0.1.3"
```
# use conn wifi
```rust
    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)?;
```