I used the following code placed in "Sub AppStart" allows you to configure ip etc..
tested in ESPConfigureWiFi...
Best regards
tested in ESPConfigureWiFi...
Best regards
B4X:
RunNative( "SetIP" , Null )
#if C
void SetIP(B4R::Object* o) {
IPAddress ip(192, 168, 1, xxx); // (Replace xxx with desired IP)
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 255, 0);
WiFi.config(ip, gateway, subnet);
}
#end if
Last edited by a moderator: