Changes between Version 3 and Version 4 of Resources/Services/RFSwitch


Ignore:
Timestamp:
Mar 18, 2020, 11:06:48 PM (5 years ago)
Author:
jkol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Resources/Services/RFSwitch

    v3 v4  
    1212 ||  rfsw-md1.sb2.cosmos-lab.org  ||  COSMOS Sandbox 2  ||  sdr1-md1, sdr2-md1  ||
    1313
     14Please visit the individual sandbox specific pages in the wiki for detailed block diagrams of the possible RF connections that can be made.
     15
    1416[[BR]]
    1517
     
    2224=== Get the current configuration ===
    2325
    24 This API call is used to get the current configuration of the RF front end(s) with respect to a node or list of nodes. The response will specify the parameters of the TX chain for the node(s) in question. It will show for a given node's `rf_port`, what `antenna` would be used if it were `connected`, whether the power amplifier (`power_amp`) is on or off, and the lower frequency (`f_lower`) and upper frequency (`f_upper`) of the filters.
     26This API call is used to get the current configuration of the RF switch box(es). The response will specify the switch/port configurations of the RF switch box(es) in question.
    2527
    2628HTTP API Path: `am1.cosmos-lab.org:5054/rf_swtich/status`
     
    5658HTTP Request:
    5759{{{
    58 am1.cosmos-lab.org:5054/rf_switch/status?name=rfsw1.sb1.cosmos-lab.org&rfsw2.sb1.cosmos-lab.org
     60am1.cosmos-lab.org:5054/rf_switch/status?name=rfsw1.sb1.cosmos-lab.org,rfsw2.sb1.cosmos-lab.org
    5961}}}
    6062
     
    8688 ||= '''Name''' =||= '''Decription''' =||= '''Required''' =||= '''Acceptable Input''' =||
    8789 ||  name ||  Comma separated list of RF switch box FQDNs  ||  Y  ||  (list of RF switch boxes)  ||
    88  ||  switch  ||  Switch(es) to configure on the RF switch box  ||  Y  ||  1, 2, 3, 4  ||
     90 ||  switch  ||  Comma separated list of switch(es) to configure  ||  Y  ||  (list of switch numbers)  ||
    8991 ||  port ||  Port to select on RF switch  ||  Y  ||  1, 2  ||
    9092
     
    9395==== Example 1 ====
    9496
    95 For `sdr1-s1-lg1` in `bed` testbed, connect TX RF ports 0 and 1 to their respective antennas, turn on the power amplifier, and request a frequency of 2.4-2.5 GHz.
     97For `rfsw1.sb1.cosmos-lab.org` and `rfsw2.sb1.cosmos-lab.org`, configure switches `2` and `3` to the second port.
    9698
    9799HTTP Request:
    98100{{{
    99 am1.cosmos-lab.org:5054/rf_control/set_tx_path?node=sdr1-s1-lg1.bed.cosmos-lab.org&rf_port=0,1&power_amp=on&f_lower=2400&f_upper=2500
     101am1.cosmos-lab.org:5054/rf_switch/set?name=rfsw1.sb1.cosmos-lab.org,rfsw2.sb1.cosmos-lab.org&switch=2,3&port=2
    100102}}}
    101103