#embassy #wifi #esp32

no-std esp-embassy-wifihelper

Simple helper library to make it easier to connect to wifi with esp-embassy

1 unstable release

new 0.2.2 Feb 8, 2025

#1686 in Embedded development

Download history 91/week @ 2025-02-03

91 downloads per month

MIT license

15KB
139 lines

esp-embassy-wifi

Simple helper library to make it easier to connect to wifi with esp-embassy.

How to use

The wifi_example.rs in examples folder show a minimal esp32c3 example code. The part that use this library is this:

let wifi = WifiStack::new(
    spawner,
    peripherals.WIFI,
    peripherals.TIMG0,
    peripherals.RNG,
    peripherals.RADIO_CLK,
    SSID.try_into().unwrap(),
    PASSWORD.try_into().unwrap(),
);

Supported devices

This has been tested on esp32, esp32s3 and esp32c6, and is assumed to work on the remaining esp32 devices as well.

Dependencies

~99MB
~495K SLoC