summaryrefslogtreecommitdiffstats
path: root/app/bluetooth/Bluetooth.qml
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-22 13:44:21 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2016-12-22 13:44:21 +0000
commitcd02c39f41469c1bf97bbea810c1fcbba5afcf43 (patch)
treea9f8c1b6f6814e50e58a507a80527908a80947c8 /app/bluetooth/Bluetooth.qml
parent601f5f0fceb0e86d47e41943031b784f8f7f7f0b (diff)
parent54028f6c8e856ac44e6833328b22d7b90fd4fbd7 (diff)
Merge "Wifi & Bluetooth: use binding address defined in main.cpp"
Diffstat (limited to 'app/bluetooth/Bluetooth.qml')
-rw-r--r--app/bluetooth/Bluetooth.qml7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml
index 23752b1..0ce01a1 100644
--- a/app/bluetooth/Bluetooth.qml
+++ b/app/bluetooth/Bluetooth.qml
@@ -25,12 +25,7 @@ SettingPage {
title: 'Bluetooth'
checkable: true
- property string protocol: 'http://'
- property string ipAddress: '127.0.0.1'
- property string portNumber: Qt.application.arguments[1]
- property string tokenString: Qt.application.arguments[2]
- property string btAPI: '/api/Bluetooth-manager/'
- property string btAPIpath: protocol + ipAddress + ':' + portNumber + btAPI
+ property string btAPIpath: bindingAddress + '/Bluetooth-manager/'
property var jsonObjectBT
property string currentState: 'idle'
property string btState: 'off' //add property to indicate the bt status