Search found 3 matches

by davidItaly
Wed May 29, 2024 5:37 am
Forum: General Discussion
Topic: Rust captive portal
Replies: 0
Views: 849

Rust captive portal

From a tutorial found on internet i write a code that set my esp32 to access point and all works fine and now i want to set captive portal so when there is a connection dns redirect client to my home page. I'm trying to do all with rust lang but didn't find any information on internet to make this. ...
by davidItaly
Fri Apr 26, 2024 11:43 am
Forum: Rust
Topic: how to config my own ip address during accesspoint mode
Replies: 2
Views: 7807

Re: how to config my own ip address during accesspoint mode

thanks mikemoy , your code put me on right way, i adapt your code on rist with unsafe and everything works well, a problem that i face was a loop when wifi connected, connect , leave, connect,leave and so on. I fix this with erase nvs partition.
by davidItaly
Wed Apr 24, 2024 5:56 pm
Forum: Rust
Topic: how to config my own ip address during accesspoint mode
Replies: 2
Views: 7807

how to config my own ip address during accesspoint mode

wifi_driver.set_configuration(&wifiConfiguration::AccessPoint(AccessPointConfiguration{ ssid: nome_wifi,//"mySSID".into(), password: pass_wifi,//"myPASSWORD".into(), auth_method: AuthMethod::WPA, ..Default::default() })).unwrap(); my code works well but the ip address to access the wifi esp32 is the...