bt-keyboard icon indicating copy to clipboard operation
bt-keyboard copied to clipboard

Not working with latest release of ESP-IDF v4.4

Open caden-parajuli opened this issue 2 years ago • 1 comments

After checking out the latest commit of ESP-IDF from the release/v4.4 branch, I noticed the code in this repo is not working. I tried checking out commit d501a53f2f038521e9c9a4f29b4b63745c76ed11 since that commit was on February 2nd, the same day as the last commit of this repo. Everything worked after that.

The specific issue I was having was the keyboard would not connect and logged the following:

W (12283) BT_HCI: hcif conn complete: hdl 0x81, st 0x0
W (12333) BT_SDP: process_service_attr_rsp
W (12393) BT_SDP: process_service_attr_rsp
W (12433) BT_HCI: hci cmd send: disconnect: hdl 0x81, rsn:0x13
E (12443) BT_HIDH: OPEN ERROR: ERR
E (12443) BTKeyboard:  OPEN failed!
W (12513) BT_HCI: hcif disc complete: hdl 0x81, rsn 0x16

Steps to reproduce:

cd ~/esp
git clone -b release/v4.4 --recursive https://github.com/espressif/esp-idf.git
git clone https://github.com/turgu1/bt-keyboard.git
cd bt-keyboard
~/esp/esp-idf/tools/idf.py flash monitor

I have not tried any commits in-between the latest and d501a53f2f038521e9c9a4f29b4b63745c76ed11, so I don't know where the bug was introduced. If I find the time I might try bisecting to find the precise ESP-IDF commit.

caden-parajuli avatar Jul 13 '22 17:07 caden-parajuli

Hello, If you look close to the end of the README.md file, I wrote the need to update v4.4 to get it patched as there was a bug related to the BT that was corrected. They may wait until version 4.5 to have it part of the release.

Hope this help.

turgu1 avatar Jul 14 '22 14:07 turgu1