Search found 1 match
- Mon May 23, 2022 2:43 pm
- Forum: General Discussion
- Topic: i'm using two ble esp32,esp server takes 6sec to detect disconnection of esp client, how do i reduce this time to 1sec ?
- Replies: 0
- Views: 902
i'm using two ble esp32,esp server takes 6sec to detect disconnection of esp client, how do i reduce this time to 1sec ?
#include <BLEDevice.h> #include <BLEUtils.h> #include <BLEServer.h> #define SERVICE_UUID "4fafc201-1fb5-459e-8fcc-c5c9c331914b" #define CHARACTERISTIC_UUID "beb5483e-36e1-4688-b7f5-ea07361b26a8" bool deviceConnected = false; //Setup callbacks onConnect and onDisconnect class MyServerCallbacks: publ...