Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The BT keyboard stops working after entering some chars #59

Open
lismarc opened this issue Sep 18, 2023 · 0 comments
Open

The BT keyboard stops working after entering some chars #59

lismarc opened this issue Sep 18, 2023 · 0 comments

Comments

@lismarc
Copy link

lismarc commented Sep 18, 2023

I have small "Bluetooth Keyboard 3.0" from Chinese TECLAST tablet.

This keyboard works great with many laptops and desktops.
I'm able to pair the keyboard with ESP32, however always stops working after entering few chars (~around 20 keys pressing) or less than one minute from running ESP.

Final effect is I can not enter chars or sometimes the last chars is repeated continuously even turn off the keyboard.

Tried many modifications of code I've found in the net, but the problem still exists.

My setup:

  • Hardware:
    ** board ESP32 DEVKITV1,
  • Software:
    ** IDE Arduino 1.8.19,
    ** Board Manager: Espressif Systems 1.0.1 (with 1.0.4 same effect),
    ** Board: ESP32 Wrover Module,
    ** Partition scheme: Huge App (3MB, No OTA/1MB SPIFFS),
  • Configuration:
    ** #define VIDEO_STANDARD NTSC
    ** #define EMULATOR EMU_ATARI

I was able to dump the log from serial port:
...
00:07:01.670 -> key:51 01 00
00:07:01.811 -> frame_time:2969 drawn:1201 displayed:1232 blit_ticks:2737->3016, isr time:31.81%
00:07:01.811 -> key:51 00 00
00:07:02.140 -> key:51 01 00
00:07:02.328 -> key:51 00 00
00:07:02.705 -> key:51 01 00
00:07:02.846 -> key:51 00 00
00:07:03.222 -> key:51 01 00
00:07:03.316 -> key:51 00 00
00:07:03.693 -> key:51 01 00
00:07:03.787 -> frame_time:2604 drawn:1321 displayed:1352 blit_ticks:2737->3079, isr time:31.81%
00:07:03.835 -> key:51 00 00
00:07:04.259 -> key:51 01 00
00:07:04.401 -> key:51 00 00
--------------> here the keyboard stopped working <--------------
00:07:05.813 -> frame_time:3056 drawn:1441 displayed:1472 blit_ticks:2736->3073, isr time:31.80%
00:07:07.789 -> frame_time:2712 drawn:1561 displayed:1592 blit_ticks:2735->3027, isr time:31.80%
00:07:09.814 -> frame_time:3033 drawn:1681 displayed:1712 blit_ticks:2736->3009, isr time:31.80%
00:07:11.789 -> frame_time:3052 drawn:1801 displayed:1832 blit_ticks:2736->3080, isr time:32.11%
00:07:13.439 -> s:66 L2CAP_LISTENING
00:07:13.439 -> s:67 L2CAP_LISTENING
00:07:13.439 -> s:64 L2CAP_OPENING
00:07:13.439 -> s:66 L2CAP_OPENING
00:07:13.580 -> s:65 L2CAP_OPENING
00:07:13.580 -> s:67 L2CAP_OPENING
00:07:13.816 -> frame_time:2984 drawn:1921 displayed:1952 blit_ticks:2736->3067, isr time:32.15%
00:07:15.793 -> frame_time:3053 drawn:2041 displayed:2072 blit_ticks:2736->3076, isr time:32.13%
...

Some idea what is wrong and can be improved?

What is the status of this fancy project? Any plans? Some development?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant