The corporate network the device works normally.
WiFi corporate credentials:
//char ssid[] = “netvirtua-1108”;
//char pass[] = “rmfe1108”;
My code:
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space #include <SPI.h> #include <Ethernet.h> #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “my_token”;
// Your WiFi credentials.
// Set password to “” for open networks.
//char ssid[] = “netvirtua-1108”;
//char pass[] = “rmfe1108”;
char ssid[] = “D463FE”;
char pass[] = “271768537”;
#include <BlynkSimpleEsp8266.h>
const char* ssid = "<ssid>";
const char* password = "<password>";
char auth[] = "<auth code>";
WidgetLED led1(V1);
void setup()
{
Serial.begin(115200);
Blynk.begin(auth, "<ssid>","<password>");
while (Blynk.connect() == false) { }
Blynk.syncAll();
pinMode(D4, INPUT_PULLUP);//and other stuffs
}
//other nonsense stuffs that need to be done at sync. goes here
void loop()
{
Blynk.run();
}
//Rest of the stuffs goes here that nee to run after sync. goes here