Closed jthiem closed 1 month ago
ahah nice! I was busy on the same thing this morning... (with esp-idf 5.3.1) and obviously had to make the same changes. However, when testing it, I get a reboot of the esp32 as soon as I get a key event...
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
have you seen something similar (didn't search of it yet)?
tested with keychron k3 keyboard and esp32Wroom...
thanks :)
Huh, I get reboots of the ESP32 on certain keys, especially the "fn" key. An event buffer or a callback buffer not big enough?
ahah nice! I was busy on the same thing this morning... (with esp-idf 5.3.1) and obviously had to make the same changes. However, when testing it, I get a reboot of the esp32 as soon as I get a key event...
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
have you seen something similar (didn't search of it yet)?tested with keychron k3 keyboard and esp32Wroom...
thanks :)
I may have found the reason, please see issue #9.
Cheers!
Added bugfix for #9, with some simplification to develop a decoding state machine. Need to adapt BTKeyboard::wait_for_ascii_char for the new code.
Nice catch! works well for me on ESP-IDF v5.3.1.
Thanks a lot for your contribution!
Code compiles and runs with ESP-IDF 5.2.3 in Linux. Tested with an Apple keyboard.