ArduinoBLE for MKR WiFi 1010 and Arduino UNO WiFi Rev.2

There is initial support for BLE on new Arduino boards with integrated ESP32. It would be nice to have Blynk ported for these boards :

Arduino MKR WiFi 1010 and Arduino UNO WiFi Rev.2

Sure. Contributions are welcome, as usual :wink:

what has BLE to do with Blynk? the new boards use WiFiNINA library. Which is only a next WiFi library so you can use it with Blynk as any standard Arduino networking library

#include <WiFiNINA.h>
#include <Adapters/BlynkWiFiCommon.h>

WiFiClient _blynkWifiClient;
BlynkArduinoClient _blynkTransport(_blynkWifiClient);
BlynkWifiCommon Blynk(_blynkTransport);

in setup()

  int status = WL_DISCONNECTED;
  while ( status != WL_CONNECTED) {
    status = WiFi.begin(ssid, pass);
    delay(10000);
  }
  Blynk.config(auth, BLYNK_DEFAULT_DOMAIN, BLYNK_DEFAULT_PORT);
  while (!Blynk.connect());