From 54028f6c8e856ac44e6833328b22d7b90fd4fbd7 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Thu, 22 Dec 2016 17:27:58 +0900 Subject: Wifi & Bluetooth: use binding address defined in main.cpp Change-Id: I37927e3287cc63531e58aedec0fee67eb4331e47 Signed-off-by: Tasuku Suzuki --- app/bluetooth/Bluetooth.qml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'app/bluetooth') 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 -- cgit 1.2.3-korg