diff options
author | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2016-12-22 17:27:58 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2016-12-22 17:37:12 +0900 |
commit | 54028f6c8e856ac44e6833328b22d7b90fd4fbd7 (patch) | |
tree | 4bcb0b3e04be87e2452361654b9b287ec8bd06e1 /app/bluetooth/Bluetooth.qml | |
parent | 91bc9fbdcf73222e5c000ad91e10d6e446cb5c55 (diff) |
Wifi & Bluetooth: use binding address defined in main.cpp
Change-Id: I37927e3287cc63531e58aedec0fee67eb4331e47
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'app/bluetooth/Bluetooth.qml')
-rw-r--r-- | app/bluetooth/Bluetooth.qml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/bluetooth/Bluetooth.qml b/app/bluetooth/Bluetooth.qml index 3a4d50f..ed489e5 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 |