blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.81k stars 1.38k forks source link

ESP32 BLE - connect after disconnect #564

Closed FedericoBusero closed 2 years ago

FedericoBusero commented 2 years ago

Description

On ESP32 using BLE (using the standard BLE library) a reconnect will be possible after a disconnect

Issues Resolved

On ESP32, using BLE, using the standard BLE library a connect is no longer possible after a disconnect. This is an issue since ESP32 Arduino core 1.0.5. It is necessary to restart advertising the BLE service. See also https://github.com/espressif/arduino-esp32/issues/6016