Changes between Version 3 and Version 4 of Resources/Services/RFSwitch
- Timestamp:
- Mar 18, 2020, 11:06:48 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Resources/Services/RFSwitch
v3 v4 12 12 || rfsw-md1.sb2.cosmos-lab.org || COSMOS Sandbox 2 || sdr1-md1, sdr2-md1 || 13 13 14 Please visit the individual sandbox specific pages in the wiki for detailed block diagrams of the possible RF connections that can be made. 15 14 16 [[BR]] 15 17 … … 22 24 === Get the current configuration === 23 25 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.26 This 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. 25 27 26 28 HTTP API Path: `am1.cosmos-lab.org:5054/rf_swtich/status` … … 56 58 HTTP Request: 57 59 {{{ 58 am1.cosmos-lab.org:5054/rf_switch/status?name=rfsw1.sb1.cosmos-lab.org &rfsw2.sb1.cosmos-lab.org60 am1.cosmos-lab.org:5054/rf_switch/status?name=rfsw1.sb1.cosmos-lab.org,rfsw2.sb1.cosmos-lab.org 59 61 }}} 60 62 … … 86 88 ||= '''Name''' =||= '''Decription''' =||= '''Required''' =||= '''Acceptable Input''' =|| 87 89 || 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) || 89 91 || port || Port to select on RF switch || Y || 1, 2 || 90 92 … … 93 95 ==== Example 1 ==== 94 96 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.97 For `rfsw1.sb1.cosmos-lab.org` and `rfsw2.sb1.cosmos-lab.org`, configure switches `2` and `3` to the second port. 96 98 97 99 HTTP Request: 98 100 {{{ 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=2500101 am1.cosmos-lab.org:5054/rf_switch/set?name=rfsw1.sb1.cosmos-lab.org,rfsw2.sb1.cosmos-lab.org&switch=2,3&port=2 100 102 }}} 101 103