-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Compile under esp-idf
Pair a K380s BLE keyboard
Pin Code is displayed on screen
Do not enter code, timeout is 30 seconds
After timeout the program crashes with load prohibited error - sometimes it does not and drops to disconnected state.
Please enter the following pairing code followed with ENTER on your keyboard: 101374
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4012405d PS : 0x00060d30 A0 : 0x80122b44 A1 : 0x3ffcc290
--- 0x4012405d: bta_gattc_get_db_with_opration at D:/esp-idf/v5.5.1/esp-idf/components/bt/host/bluedroid/bta/gatt/bta_gattc_cache.c:1370
The Rii i8+ is auto-pairing so avoids this condition.
For a K380 BT Classic keyboard, waiting until timeout crashes also at times with a Watchdog timeout.
Adding vTaskDelay(100 / portTICK_PERIOD_MS); before the fill screen in lcd_center_print_timed() seems to fix the classic crash.
Arduino likely has this issue also but since it currently does not fully connect, it could be present there too and not see it yet.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working