| | 57 | ==== Configure the mobile PAAM ==== |
| | 58 | COSMOS uses a RESTful [https://wiki.cosmos-lab.org/wiki/Resources/Services/ArrayMgmt service for PAAM management]. A local version of this service is running on each mobile PAAM to allow for configuration outside of SB1. There are two paradigms for array management: |
| | 59 | * Dynamic array management - The user connects to the antenna using {{{connect}}} command, dynamically steers the antenna during the experiment using {{{steer}}} command, and disconnects once the experiment is done. |
| | 60 | * Static array management - The user can connect, steer, and disconnect in a single command, {{{configure}}} |
| | 61 | We will use mob4-1 as our transmitter. We will enable it to use all ICs and 16 elements with V-polarization. Initially, it will be steered towards broadside (0,0). |
| | 62 | {{{#!shell |
| | 63 | root@mob4-1:~# curl "http://rfdev-mob:3000/array_mgmt/enable?dev_name=Local&ics=all&num_elements=16&txrx=tx&pol=v&theta=0&phi=0" |
| | 64 | }}} |
| | 65 | Now we configure mob4-2 as the receiver with the same parameters. |
| | 66 | {{{#!shell |
| | 67 | root@mob4-2:~# curl "http://rfdev-mob:3000/array_mgmt/enable?dev_name=Local&ics=all&num_elements=16&txrx=rx&pol=v&theta=0&phi=0" |
| | 68 | }}} |
| | 69 | |
| | 70 | ==== Run the experiment ==== |
| | 71 | Open GNURadio companion on the sessions initialized with {{{-Y}}} |
| | 72 | {{{#!shell |
| | 73 | root@mob4-1:~# gnuradio-companion |
| | 74 | }}} |
| | 75 | {{{#!shell |
| | 76 | root@mob4-2:~# gnuradio-companion |
| | 77 | }}} |
| | 78 | |
| | 79 | On mob4-1, open the TX_OFDM.grc file. On mob4-2, open the RX_OFDM.grc file. |
| | 80 | |
| | 81 | ==== Observe and improve the results ==== |
| | 82 | |
| | 83 | |