ivmarkov / rust-esp32-std-demo

Rust on ESP32 STD demo app. A demo STD binary crate for the ESP32[XX] and ESP-IDF, which connects to WiFi, Ethernet, drives a small HTTP server and draws on a LED screen.
Apache License 2.0
785 stars 105 forks source link

Add Wi-Fi callback example #161

Closed owenthewizard closed 5 months ago

owenthewizard commented 5 months ago

I'm trying to use WifiDriver::set_callbacks but I'm not successful. I think an example would be helpful.

owenthewizard commented 5 months ago

I'm trying to implement this in idiomatic Rust: https://github.com/dokmic/eth2wlan/blob/master/main/main.c

ivmarkov commented 5 months ago

Did you check the README? Feel free to open this issue at esp-idf-svc instead.

With that said, I can't write an example for every use case, as this is supported on my free time. The esp-idf-* crates are a community-driven effort, so ideally, folks achieving something open PRs (including for examples) and thus help in driving the crates forwards.

Even describing your issue in more details could be helpful.