summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Melnik <AMelnik@luxoft.com>2014-03-19 16:37:22 +0200
committerJustin Dickow <jjdickow@gmail.com>2014-07-08 15:09:49 -0400
commit076937bee2cfd6f9c354435d582fa77a9ee8db92 (patch)
tree81ae3ea860f9f403399238899d88ecd8eeac0657
parent6730554075a340950bda312b94ec596f3d01ae81 (diff)
downloadsmartdevicelink-076937bee2cfd6f9c354435d582fa77a9ee8db92.tar.gz
APPLINK-6124: Notification OnSystemRequest does not come after pressing OnSystemRequest on HMI
-rw-r--r--src/components/HMI/ffw/BasicCommunicationRPC.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/HMI/ffw/BasicCommunicationRPC.js b/src/components/HMI/ffw/BasicCommunicationRPC.js
index afc619bfa..421b8c192 100644
--- a/src/components/HMI/ffw/BasicCommunicationRPC.js
+++ b/src/components/HMI/ffw/BasicCommunicationRPC.js
@@ -580,13 +580,14 @@ FFW.BasicCommunication = FFW.RPCObserver
var JSONMessage = {
"jsonrpc": "2.0",
- "method": "BasicCommunication.OnStartDeviceDiscovery",
+ "method": "BasicCommunication.OnSystemRequest",
"params":{
"requestType": "HTTP",
"url": "http://127.0.0.1",
- "fileType": "BINARY",
+ "fileType": "JSON",
"offset": 1000,
- "length": 10000
+ "length": 10000,
+ "timeout": 500
}
};
this.client.send(JSONMessage);