You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever i browse via an android bonjour browser (Service Browser) i receive the following crash.
Overall with this newer framework i cant even browse via domain.local url nor i can perform OTA unless i explicitly set the proper esp32 ip
Sketch
staticvoidwifi_init()
{
.....
WiFi.onEvent([](WiFiEvent_t event, WiFiEventInfo_t info) {
Serial.print("[I][ESP32]: WiFi connected. IP: ");
Serial.println(IPAddress(info.got_ip.ip_info.ip.addr));
.....
ArduinoOTA
.onStart([]() {
String type;
if (ArduinoOTA.getCommand() == U_FLASH)
type = "sketch";
else// U_SPIFFS
type = "filesystem";
// NOTE: if updating SPIFFS this would be the place to unmount SPIFFS using SPIFFS.end()
Serial.println("Start updating " + type);
})
.onEnd([]() {
Serial.println("\nEnd");
})
.onProgress([](unsignedint progress, unsignedint total) {
Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
})
.onError([](ota_error_t error) {
Serial.printf("Error[%u]: ", error);
if (error == OTA_AUTH_ERROR)
Serial.println("Auth Failed");
elseif (error == OTA_BEGIN_ERROR)
Serial.println("Begin Failed");
elseif (error == OTA_CONNECT_ERROR)
Serial.println("Connect Failed");
elseif (error == OTA_RECEIVE_ERROR)
Serial.println("Receive Failed");
elseif (error == OTA_END_ERROR)
Serial.println("End Failed");
});
ArduinoOTA.setHostname(MDNS_NAME);
ArduinoOTA.begin();
.....
},
WiFiEvent_t::ARDUINO_EVENT_WIFI_STA_GOT_IP);
}
voidsetup()
{
Serial.begin(115200);
wifi_init();
WiFi.begin(WIFI_SSID, WIFI_PSK);
while(!SPIFFS.begin(true));
Serial.println();
Serial.print("[I][ESP32]: Connecting to ");
Serial.println(WIFI_SSID);
}
voidloop(){}
### Other Steps to Reproduce
_No response_
### I have checked existing issues, online documentation and the Troubleshooting Guide
- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
The text was updated successfully, but these errors were encountered:
Board
ESP32 Dev Module
Device Description
Standard version
Hardware Configuration
Nothing special
Version
v2.0.3
IDE Name
PlatformIO
Operating System
Windows 10
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
115200
Description
Whenever i browse via an android bonjour browser (Service Browser) i receive the following crash.
Overall with this newer framework i cant even browse via domain.local url nor i can perform OTA unless i explicitly set the proper esp32 ip
Sketch
Debug Message
The text was updated successfully, but these errors were encountered: