Changes between Initial Version and Version 1 of Internal/RFSwitch


Ignore:
Timestamp:
Sep 27, 2016, 10:02:59 PM (4 years ago)
Author:
jkol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/RFSwitch

    v1 v1  
     1= RF Switch =
     2
     3== REST API ==
     4All valid calls will reply with formatted XML. The first line will be `<response status="OK">` for commands that execute correctly, or `<response status="ERROR">` if either the parameters passed are invalid of the call failed for some other reason (check /var/log/syslog on the relevant Pi for more information).
     5|| '''REST API Call''' || '''Description''' ||
     6|| /RFSwitch/set_rf?switch=''<int>''&rf=''<int>'' || Sets the requested switch (1 to 4) to rf port (1 or 2) ||
     7|| /RFSwitch/status || Returns status information: total number of switches and the individual switch states (what rf ports they are set to). ||