Changes between Version 1 and Version 2 of Internal/RFSwitch


Ignore:
Timestamp:
Sep 27, 2016, 10:08:05 PM (8 years ago)
Author:
jkol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/RFSwitch

    v1 v2  
    66|| /RFSwitch/set_rf?switch=''<int>''&rf=''<int>'' || Sets the requested switch (1 to 4) to rf port (1 or 2) ||
    77|| /RFSwitch/status || Returns status information: total number of switches and the individual switch states (what rf ports they are set to). ||
     8
     9'''Example XML responses:'''
     10
     11 Response to: .../RFSwitch/set_rf?switch=1&rf=2
     12{{{
     13<?xml version="1.0" encoding="UTF-8"?>
     14<response status="OK">
     15  <action service="rf_switch" name="set_rf">
     16    <nodes>
     17      <node ip="10.3.0.28" return="0"/>
     18    </nodes>
     19  </action>
     20</response>
     21}}}
     22
     23 Response to: .../RFSwitch/status
     24{{{
     25<?xml version="1.0" encoding="UTF-8"?>
     26<response status="OK">
     27  <action service="rf_switch" name="status">
     28    <nodes>
     29      <node ip="10.3.0.28" mac="b8:27:eb:96:84:c8" uptime="2974" num_of_switches="4" switch1="2" switch2="1" switch3="1" switch4="1"/>
     30    </nodes>
     31  </action>
     32</response>
     33
     34}}}