summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller_p.h
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2016-05-30 15:18:01 +0200
committerOliver Wolff <oliver.wolff@qt.io>2016-07-26 12:34:09 +0000
commit168a79fd266e4ae9de5b312446904a303e7442a4 (patch)
tree4f1297b4b04052ba48814363e1d53627b3622f43 /src/bluetooth/qlowenergycontroller_p.h
parent2f669ad983c344f6a3076f3ac2425ac2eb6f5eb3 (diff)
WinRT: getNativeService/getNativeCharacteristic helper functions
Change-Id: I5094eb7252049e55617a2883d0f917700c42b451 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_p.h')
-rw-r--r--src/bluetooth/qlowenergycontroller_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller_p.h b/src/bluetooth/qlowenergycontroller_p.h
index 38dfb714..38e38752 100644
--- a/src/bluetooth/qlowenergycontroller_p.h
+++ b/src/bluetooth/qlowenergycontroller_p.h
@@ -92,6 +92,7 @@ namespace ABI {
struct IBluetoothLEDevice;
namespace GenericAttributeProfile {
struct IGattDeviceService;
+ struct IGattCharacteristic;
}
}
}
@@ -436,6 +437,9 @@ private:
Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice> mDevice;
EventRegistrationToken mStatusChangedToken;
+ Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService> getNativeService(const QBluetoothUuid &serviceUuid);
+ Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic> getNativeCharacteristic(const QBluetoothUuid &serviceUuid, const QBluetoothUuid &charUuid);
+
void obtainIncludedServices(QSharedPointer<QLowEnergyServicePrivate> servicePointer,
Microsoft::WRL::ComPtr<ABI::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService> nativeService);
#endif