Blynk Legacy + BLE don't work on ESP32

Hello.
I try the code from the ESP32_BLE example, but it does not establish a connection.


#define BLYNK_PRINT Serial

#define BLYNK_USE_DIRECT_CONNECT

#include <BlynkSimpleEsp32_BLE.h>
#include <BLEDevice.h>
#include <BLEServer.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "Y6YnNqcqfu_gIB5ecCWcpuvPkft0TNgC";

unsigned long TMR = 0;
WidgetTerminal terminal(V0);

void setup()
{
  // Debug console
  Serial.begin(9600);

  Serial.println("Waiting for connections...");

  Blynk.setDeviceName("Blynk_BLE");


  Blynk.begin(auth);

  TMR = millis();
}

void loop()
{
  Blynk.run();

  if (TMR+2000 < millis()) {
    terminal.println("Go..");
    Serial.println("Go..");
    TMR = millis();
  }
}

Log from Serial

10:37:09.243 ->Waiting for connections...
10:37:09.726 -> [63] 
10:37:09.759 ->     ___  __          __
10:37:09.759 ->    / _ )/ /_ _____  / /__
10:37:09.789 ->   / _  / / // / _ \/  '_/
10:37:09.822 ->  /____/_/\_, /_//_/_/\_\
10:37:09.854 ->         /___/ v1.2.0 on ESP32
10:37:09.886 -> 
10:37:09.886 ->  #StandWithUkraine    https://bit.ly/swua
10:37:09.956 -> 
10:37:09.956 -> 
10:37:12.550 -> Go..
10:37:14.585 -> Go..

Screenshots from Android 12 (Blynk App - 2.27.34)

What am I doing wrong?
P.S. With version 0.6.1 same problem.
P.P.S. Sketch ESP32-BT is WORK…

You need to use library version 0.6.1 if you’re using Blynk Legacy.

Pete.

))))
Tnx, but I’m wrote:
P.S. With version 0.6.1 same problem.

Yes, but any testing you’ve done with later versions of the library are invalid.

If you’re still using Blynk Legacy then you’re pretty-much on your own as far as problem solving is concerned, and that applies even more so with BT/BLE.
There’s a reason why the Blynk developers dropped BT support in Blynk IoT

Pete.