how to config my own ip address during accesspoint mode
Posted: Wed Apr 24, 2024 5:56 pm
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 one chooses from board, i want to set my own
what i'm wondering is how to set my ip address 192.168.1.1 when i program my board esp32 i tyed with routerconfig bu not work.
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 one chooses from board, i want to set my own
what i'm wondering is how to set my ip address 192.168.1.1 when i program my board esp32 i tyed with routerconfig bu not work.