fbiego / ESP32_BLE_OTA_Arduino

OTA update on ESP32 via BLE
MIT License
209 stars 42 forks source link

Core panic'ed #17

Open SuperTankMan opened 2 years ago

SuperTankMan commented 2 years ago

Hi Fbiego and Team, I am getting an issue where the core panics or in some cases the ESP32 just freezes not sure which end is the issue the client or server. I only have the logs for the Server i.e. ESP32 side. Below are the logs as much as I can get Ive added a little bit more in the code so that you can see more in the logs like: code extract: else if (pData[0] == 0xFF) //BLE_FOTA_CMD_OTA_INFO (PART_DETAILS) <0xFF> <parts[2]> <MTU[2]> { parts = (pData[1] 256) + pData[2]; MTU = (pData[3] 256) + pData[4]; MODE = UPDATE_MODE; Serial.printf("Rcved-OTA_INFO :Parts=%i, MTU=%i, MODE=%i\n", parts, MTU, MODE); } Outputs: Rcved-OTA_INFO :Parts=60, MTU=500, MODE=1

I have also opend up your Serial.sprintf(...) in onWrite call backs.

Attached are the logs please see if you've had this issue before... Ive tried both the Android app and python script with similar issue...

Any help would be much appreciated...

Raj

Failedupload log.txt Failedupload log2.txt Failedupload log3.txt Failedupload log4.txt Failedupload log5.txt Failedupload log6.txt