BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

BLYNK_CONNECTED() cause ESP8266 crash

Hi, I have been working with Blynk and ESP for long time.
Today I updated a new code to my ESP-WROOM-02 module, but my module crash with message:
ets Jan 8 2013,rst cause:4, boot mode:(3,6).
Going deep in investigation of my code, I then remove function BLYNK_CONNECTED().
Guess what, it works, no crash.
To make sure,I do a simple code to test as below. I can then replicate the error, by add/remove BLYNK_CONNECTED() function.

FYI! Latest version 0.61 is used.

// **************************************************************
#include <BlynkSimpleEsp8266.h>

char auth[] = "0xxxxxxxxxxxxf";         // 
char ssid[] = "Fvvvvvvvvvv0";
char pass[] = "Q777777777K";

void setup()
{
  Serial.begin(115200);
  Blynk.begin(auth, ssid, pass);
}

void loop() 
{
  if(Blynk.connected())
   {
    Blynk.run();
    Serial.println("Running.");
    delay(5000);
   }
  else
   {
    Serial.println("Not connected!");
   }
}

// ********************************************************************************
BLYNK_CONNECTED() 
{                                  
   Serial.println(" Connected.....");
   Blynk.syncAll();
}

Error message -----------------------------------------------
11:27:22.918 -> ets Jan 8 2013,rst cause:4, boot mode:(3,6)
11:27:22.918 ->
11:27:22.918 -> wdt reset
11:27:22.918 -> load 0x4010f000, len 1384, room 16
11:27:22.965 -> tail 8
11:27:22.965 -> chksum 0x2d
11:27:22.965 -> csum 0x2d
11:27:22.965 -> v8b899c12
11:27:22.965 -> ~ld

Hmmmm, I wonder?

Pete.

I removed the delay(5000). Still same error, ESP crash.

Please edit your initial post to add triple backticks before and after your code.
Triple backticks look like this:
```

Pete.