BLE reconnect time from light sleep takes long.

jmood567
Posts: 1
Joined: Tue May 05, 2020 9:25 pm

BLE reconnect time from light sleep takes long.

Postby jmood567 » Tue May 05, 2020 9:39 pm

Hello, and thanks in advance for looking at the question.

I am trying to construct a BLE keyboard using the T-vK library(https://github.com/T-vK/ESP32-BLE-Keyboard). To save power I put it into light sleep after no input is detected for a couple of seconds. However, I'm seeing that it takes ~1-2 seconds for the bluetooth to re-connect after waking up, which makes using this device clunky and awkward. Is there any way to speed this re-connect process up? If not, is it possible to stay connected while still achieving a relatively low power state?


muhambykar
Posts: 13
Joined: Tue Oct 08, 2019 9:03 am

Re: BLE reconnect time from light sleep takes long.

Postby muhambykar » Thu Jun 24, 2021 1:31 pm

Hi, can you share the code for this please? for esp idf or arduino, thank you...

Who is online

Users browsing this forum: No registered users and 59 guests