The method systemSetCommStatus() is called by the server hub to enable/disable bi-directional communication on hub running the Remote Client.
Function |
systemSetCommStatus |
Purpose |
Enable or disable bi-directional communications between hubs. |
Parameters |
None |
URL Format |
/system/setCommStatus/:status |
HTTP Method |
GET - Incoming |
HTTP Parameters |
Name |
Type |
Description |
status |
String |
"true" to disable communications, "false" to enable. |
|
Return JSON |
Name |
Type |
Return Values |
status |
String |
"success" if the communication state changed. |
switch |
String |
"on" if communication has been restored, "off" if not. |
|