BLYNK
BLYNK.IO       📲 GETTING STARTED       đź“— DOCS       âť“HELP CENTER       👉 SKETCH BUILDER

Connection With Device Was Interrupted Blynk 2.0

I really liked the Blynk App and thought to use it for my startup. In meantime got the news of Blynk 2.0 and its really awesome, with all features it provide, I decided to use it for my startup. So, today I tried to convert my existing code to a blynk 2.0 code. I failed in that and tried the most basic code to blink a led using exp32. But this time it is showing a peculiar kind of error and I can’t figure out any possible reason of it.

The problem is whenever I am trying to connect a device to the New Blynk 2.0 app, after I enter my WiFi credentials, it tells me “Connection With Device Was Interrupted”.

The code I am using is given below.

// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID             ""
#define BLYNK_DEVICE_NAME             ""

#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG

#define APP_DEBUG

// Uncomment your board, or configure a custom board in Settings.h
//#define USE_WROVER_BOARD

#include "BlynkEdgent.h"

BLYNK_WRITE(V0)
{
 int pinValue = param.asInt();
 digitalWrite(15,pinValue);   
}

void setup()
{
  pinMode(15,OUTPUT);
  Serial.begin(115200);
  delay(100);

  BlynkEdgent.begin();
}

void loop() {
  BlynkEdgent.run();
}

Why am i getting this error and what is the possible solution?

Thanks for any kind of help in advance.

Regards
Subhodip

I just deleted my Template and created a new one. The problem was solved.

So you just removed the template? Are you sure you haven’t done something else?

Nope… I deleted it and creted a new one… May be some glitch… Not an issue.

@Dmitriy me to have same issue
i did 100+ times still same cant solve the issue