Improved BLE pairing

This commit is contained in:
Mark Qvist 2024-10-07 20:43:53 +02:00
parent d61d14e117
commit 30f92c0f3f
1 changed files with 3 additions and 2 deletions

View File

@ -351,8 +351,9 @@ char bt_devname[11];
display_unblank(); display_unblank();
if (bt_state == BT_STATE_OFF) bt_start(); if (bt_state == BT_STATE_OFF) bt_start();
bt_debond_all(); bt_security_setup();
bt_update_passkey(); //bt_debond_all();
//bt_update_passkey();
bt_allow_pairing = true; bt_allow_pairing = true;
bt_pairing_started = millis(); bt_pairing_started = millis();