summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller_winrt_new_p.h
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2022-09-12 18:29:43 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2022-09-12 18:29:43 +0300
commit47c424c7990061714bd3108e3fbaa4339ba411b9 (patch)
tree8b938040ac1d4a596844f8a2717fdfb8435468da /src/bluetooth/qlowenergycontroller_winrt_new_p.h
parent41cd6185fff015f492820ec8d6be99690e562791 (diff)
parent6444868ff5f95e868471d16f61ca3d0696bbd8a5 (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.7' into tqtc/lts-5.15-opensourcev5.15.7-lts-lgpl
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_winrt_new_p.h')
-rw-r--r--src/bluetooth/qlowenergycontroller_winrt_new_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bluetooth/qlowenergycontroller_winrt_new_p.h b/src/bluetooth/qlowenergycontroller_winrt_new_p.h
index c31408be..e8f29817 100644
--- a/src/bluetooth/qlowenergycontroller_winrt_new_p.h
+++ b/src/bluetooth/qlowenergycontroller_winrt_new_p.h
@@ -132,16 +132,15 @@ public:
signals:
void characteristicChanged(quint16 charHandle, const QByteArray &data);
+ void abortConnection();
private slots:
void handleCharacteristicChanged(quint16 charHandle, const QByteArray &data);
void handleServiceHandlerError(const QString &error);
private:
- void connectToPairedDevice();
- void connectToUnpairedDevice();
+ void handleConnectionError(const char *logMessage);
- bool mAbortPending = false;
Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice> mDevice;
EventRegistrationToken mStatusChangedToken;
struct ValueChangedEntry {