summaryrefslogtreecommitdiffstats
path: root/app/api/BluetoothManager.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/api/BluetoothManager.qml')
-rw-r--r--app/api/BluetoothManager.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/api/BluetoothManager.qml b/app/api/BluetoothManager.qml
index 63e3e60..ea33dfe 100644
--- a/app/api/BluetoothManager.qml
+++ b/app/api/BluetoothManager.qml
@@ -66,10 +66,10 @@ WebSocket {
var address = ""
if (request.info == "BT - Scan Result is Displayed") {
- for (var i = 0; i < response.length; i++) {
- var data = response[i]
+ for (var i = 0; i < response.list.length; i++) {
+ var data = list.response[i]
if (data.Connected == "True" && data.UUIDs.indexOf(avrcp_uuid) >= 0) {
- address = response[i].Address
+ address = data.Address
console.debug("Connected Device: " + address)
root.connected = true