From 30f92c0f3f9ba6e1ef1c69f53e95fb7f3a1ff335 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 7 Oct 2024 20:43:53 +0200 Subject: [PATCH] Improved BLE pairing --- Bluetooth.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Bluetooth.h b/Bluetooth.h index b5c3b77..7d23c79 100644 --- a/Bluetooth.h +++ b/Bluetooth.h @@ -351,8 +351,9 @@ char bt_devname[11]; display_unblank(); if (bt_state == BT_STATE_OFF) bt_start(); - bt_debond_all(); - bt_update_passkey(); + bt_security_setup(); + //bt_debond_all(); + //bt_update_passkey(); bt_allow_pairing = true; bt_pairing_started = millis();