Hamberthm / esp32-bt2ps2

Use a Bluetooth or BLE keyboard and mouse with your machine with a PS/2 port
MIT License
26 stars 6 forks source link

Does NVS works well? #8

Closed username0occupied closed 2 months ago

username0occupied commented 3 months ago

I have tried your program, I found my esp32 could not relink my keyboard after rebooting.

Hamberthm commented 3 months ago

Hello there!

First of all, make sure line line #119 is commented out in the source, as is presented here. Just in case you have enabled that line by mistake.

NVS flash only takes a rol when using Bluetooth Classic keyboards with code entry pairing. Newer BLE keyboards don't need it, as the keyboard itself is responsible for reconnecting to the module (if i'm correct, don't have much experience to fully affirm that).

In order to further assist you, I'll need more info and these questions precisely answered:

  1. Is your keyboard BT Classic (code pairing) or BLE? (Exact brand and model will be perfect)
  2. By "rebooting" do you mean powering on and off the host system, or the keyboard?
  3. If talking about the host system, does the PS2 port power off and on? (Does it power-cycle the port?)