esp-rs / esp-idf-svc

Type-Safe Rust Wrappers for various ESP-IDF services (WiFi, Network, Httpd, Logging, etc.)
https://docs.esp-rs.org/esp-idf-svc/
Apache License 2.0
326 stars 180 forks source link

Wi-Fi provisioning support #87

Open reinhardbluelab opened 2 years ago

reinhardbluelab commented 2 years ago

Hi, is there any way to do Wi-Fi provisioning from Rust (ideally via BLE)? If not, is it possible to do it from C while still using Rust code?

jasta commented 1 year ago

I've added Wi-Fi Easy Connect (DPP) support in #228 and https://github.com/esp-rs/esp-idf-sys/pull/168, though this works via a QR code on compatible mobile phones instead of BLE. It wouldn't be so hard to add the other provisioning options available, such as: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/provisioning/provisioning.html

mzakharo commented 3 weeks ago

You can find provisioning example here