From ef8656998a5c68d4e6806e83da42ea0f3e3ee484 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 21 Dec 2018 14:52:02 -0800 Subject: Mobile: add helper function to fill in the BT name For some devices the BT device name is different from the product name. Make sure that name is available to the mobile UI. This helper fills it in from the scan data (based on the device address). Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mobile-widgets/qmlmanager.h') diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 7d14b9eb9..2812ae08f 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -62,6 +62,8 @@ public: QString DC_devName() const; void DC_setDevName(const QString& devName); + Q_INVOKABLE void retrieveBluetoothName(); + QString DC_devBluetoothName() const; void DC_setDevBluetoothName(const QString& devBluetoothName); -- cgit v1.2.3-70-g09d2