Dear community,
I have working Bluetooth LE code for communication between ESP32 and Android / Windows 10 App. I am using these Arduino libraries:
#include <BLEDevice.h>
#include <BLEServer.h>
#include <BLEUtils.h>
#include <BLE2902.h>
The only problem is that connection least only 10 seconds. After that the device disconnect. Looks like the problem is DEFAULT_ENABLE_UPDATE_REQUEST feature (update timeout is often 10 seconds in default). I looked into headers and found updateConnParams in BLEUtils.h which can change min/max communication cycle, latency and timeout ... but it does not help.
The question is if there is a way how to turn off the DEFAULT_ENABLE_UPDATE_REQUEST or if there is any other BLE Arduino library which will work with ESP32 and have this feature?
Thanks for help!
ESP32 Bluetooth LE - disconnect after 10 seconds
Who is online
Users browsing this forum: No registered users and 22 guests