Search found 1 match

by kelleci
Sun May 23, 2021 10:10 am
Forum: General Discussion
Topic: Esp32 ble. When the connection is lost, it does not connect again, I need to reset it. Can you help me with this?
Replies: 4
Views: 7897

Esp32 ble. When the connection is lost, it does not connect again, I need to reset it. Can you help me with this?

#include <BLEDevice.h> #include <BLEServer.h> #include <BLEUtils.h> #include <BLE2902.h> BLECharacteristic *pCharacteristic; bool deviceConnected = false; #define SERVICE_UUID "6E400001-B5A3-F393-E0A9-E50E24DCCA9E" #define CHARACTERISTIC_UUID_RX "6E400002-B5A3-F393-E0A9-E50E24DCCA9E" #define CHARACT...