-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Thanks for an amazing library! It's nice and complete.
Question:
I'm running this on ESP32-S1-WROOM, and I have trouble reconnecting after power-cycling the ESP32. My setup would be much nicer if that worked.
I added this, as suggested in the readme:
from hid_keystores import NVSKeyStore
ks = NVSKeyStore()
...
self.keyboard.set_keystore(ks)
With or without set_keystore() it doesn't reconnect.
Whats funny is that if I reboot the ESP, the first reboot says:
E (99372) NimBLE: failed to configure restored IRK
When rebooting again it says:
PY: soft reboot
ready to start coding
Server created
A fatal error occurred. The crash dump printed below may be used to help
determine what caused it. If you are not already running the most recent
version of MicroPython, consider upgrading. New versions often fix bugs.
To learn more about how to debug and/or report this crash visit the wiki
page at: https://github.com/micropython/micropython/wiki/ESP32-debugging
MPY version : v1.24.0-preview.72.g880f7bc04.dirty on 2024-07-02
IDF version : v5.1.2
Machine : Generic ESP32 module with SPIRAM with ESP32
Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4009d45e PS : 0x00060833 A0 : 0x8009d058 A1 : 0x3ffd6ad0
A2 : 0x3ffbd218 A3 : 0x00000000 A4 : 0x3ffb9a34 A5 : 0x3ffb2790
A6 : 0x3ffb5a98 A7 : 0x00000003 A8 : 0x00000004 A9 : 0x00000004
A10 : 0x00000208 A11 : 0x00000000 A12 : 0x3ffb9a58 A13 : 0x3ffb9a80
A14 : 0x3ffbd1d0 A15 : 0x00060823 SAR : 0x0000001f EXCCAUSE: 0x0000001d
EXCVADDR: 0x0000000c LBEG : 0x40096e9a LEND : 0x40096ea5 LCOUNT : 0x00000000
Backtrace: 0x4009d45b:0x3ffd6ad0 0x4009d055:0x3ffd6af0 0x400823b2:0x3ffd6b10 0x4008259e:0x3ffd6b30 0x40087249:0x3ffd6b50 0x4015060e:0x3ffd6b70 0x4014fa83:0x3ffd6b90 0x4014ea09:0x3ffd6bb0 0x4014eae9:0x3ffd6bd0 0x4011f120:0x3ffd6c20 0x40116989:0x3ffd6c40 0x4010c8fe:0x3ffd6c60 0x40114699:0x3ffd6c90 0x40114761:0x3ffd6cb0 0x40085e1a:0x3ffd6cd0 0x4010c97b:0x3ffd6d70 0x40114699:0x3ffd6de0 0x40114761:0x3ffd6e00 0x40085e1a:0x3ffd6e20 0x4010c97b:0x3ffd6ec0 0x40114699:0x3ffd6f20 0x40114761:0x3ffd6f40 0x40085e1a:0x3ffd6f60 0x4010c97b:0x3ffd7000 0x40114699:0x3ffd7060 0x40114761:0x3ffd7080 0x401134ea:0x3ffd70a0 0x40113389:0x3ffd7100 0x40114699:0x3ffd7120 0x40085d79:0x3ffd7140 0x4010c97b:0x3ffd71e0 0x40114699:0x3ffd7250 0x401146b2:0x3ffd7270 0x4011fc62:0x3ffd7290 0x4011ffd1:0x3ffd7320 0x40120042:0x3ffd7340 0x4012635d:0x3ffd7360
Have you ever seen something like this?
Metadata
Metadata
Assignees
Labels
No labels