From 5f1bc5c5876d3236ec5e4737564011d5948a9c7d Mon Sep 17 00:00:00 2001 From: Turann_ Date: Sun, 15 Feb 2026 23:14:46 +0300 Subject: [PATCH] Update BluetoothService.qml --- Services/Networking/BluetoothService.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Services/Networking/BluetoothService.qml b/Services/Networking/BluetoothService.qml index 567b1d2b3..13af0b447 100644 --- a/Services/Networking/BluetoothService.qml +++ b/Services/Networking/BluetoothService.qml @@ -482,7 +482,7 @@ Singleton { id: pairingProcess stdout: SplitParser { onRead: data => { - if (data.indexOf("[PIN_REQ]") !== -1) { + if (data.indexOf("PIN_REQUIRED") !== -1) { root.pinRequired = true; Logger.d("Bluetooth", "PIN required for pairing"); ToastService.showNotice(I18n.tr("common.bluetooth"), I18n.tr("bluetooth.panel.pin-required"), "lock"); @@ -502,6 +502,9 @@ Singleton { root._discoveryWasRunning = false; root.requestCtlPoll(); } + environment: ({ + "LC_ALL": "C" + }) } // Pair using bluetoothctl which registers its own BlueZ agent internally.