If you’d have taken a few minutes to search this forum for the compilation error message “‘WiFi’ was not declared in this scope” you would have found this…
With the updated Espressif ESP32 3.x.x board configuration, I find the Blynk Edgent_ESP32.ino example does not compile.
Solutions is simple: insert this line BEFORE the #include "BlynkEdgent.h" statement
#include "WiFi.h" // <============== I HAD TO ADD THIS TO BLYNK'S EXAMPLE FOR IT TO COMPILE
The updated Edgent_ESP32.ino Example is below. This has been working for me.
/*************************************************************
Blynk is a platform with iOS and Android apps to control
…
Pete.