diff --git a/daemon/src/devices/asteroidosdevice.cpp b/daemon/src/devices/asteroidosdevice.cpp index bd47f82f..a53d7d9b 100644 --- a/daemon/src/devices/asteroidosdevice.cpp +++ b/daemon/src/devices/asteroidosdevice.cpp @@ -78,7 +78,7 @@ void AsteroidOSDevice::pair() setConnectionState("pairing"); emit connectionStateChanged(); - QBLEDevice::connectToDevice(); + QBLEDevice::pair(); } diff --git a/daemon/src/devices/banglejsdevice.cpp b/daemon/src/devices/banglejsdevice.cpp index 5e0f40b7..bb0d8dae 100644 --- a/daemon/src/devices/banglejsdevice.cpp +++ b/daemon/src/devices/banglejsdevice.cpp @@ -20,7 +20,7 @@ void BangleJSDevice::pair() setConnectionState("pairing"); emit connectionStateChanged(); - QBLEDevice::connectToDevice(); + QBLEDevice::pair(); } int BangleJSDevice::supportedFeatures() const diff --git a/daemon/src/devices/pinetimejfdevice.cpp b/daemon/src/devices/pinetimejfdevice.cpp index e860bce0..3d6b3e83 100644 --- a/daemon/src/devices/pinetimejfdevice.cpp +++ b/daemon/src/devices/pinetimejfdevice.cpp @@ -58,14 +58,15 @@ void PinetimeJFDevice::pair() { qDebug() << Q_FUNC_INFO; - m_needsAuth = false; + m_needsAuth = true; m_pairing = true; m_autoreconnect = true; - //disconnectFromDevice(); + disconnectFromDevice(); setConnectionState("pairing"); emit connectionStateChanged(); - QBLEDevice::connectToDevice(); + QBLEDevice::pair(); + } int PinetimeJFDevice::supportedFeatures() const