summaryrefslogtreecommitdiffstats
path: root/app/api
diff options
context:
space:
mode:
Diffstat (limited to 'app/api')
-rw-r--r--app/api/BluetoothManager.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/api/BluetoothManager.qml b/app/api/BluetoothManager.qml
index f102fe2..63e3e60 100644
--- a/app/api/BluetoothManager.qml
+++ b/app/api/BluetoothManager.qml
@@ -101,6 +101,9 @@ WebSocket {
var data = payload.data
var metadata = data.Metadata
+ if (root.deviceAddress == "")
+ root.deviceAddress = data.Address
+
if (root.deviceAddress != data.Address)
break
@@ -109,6 +112,7 @@ WebSocket {
sendSocketMessage("discovery_result", 'None')
break
}
+ root.connected = data.Connected == "True"
root.av_connected = data.AVPConnected == "True"
if ('Position' in metadata) {