Changes between Version 10 and Version 11 of Tutorials/Wireless/Spectrum Sensing


Ignore:
Timestamp:
May 11, 2020, 12:54:27 AM (5 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/Spectrum Sensing

    v10 v11  
    1313
    1414* Load baseline_uhd_1804.ndz on your resource. [Documentation/Short/LoadImage  - this is done via OMF commands.]
    15   {{{
     15  {{{#!shell
    1616     omf load -i baseline_uhd_1804.ndz -t sdr2-s1-lg1.bed.cosmos-lab.org
    1717  }}}
    1818
    1919* Turn the node on
    20   {{{
     20  {{{#!shell
    2121     omf tell -a on -t sdr2-s1-lg1.bed.cosmos-lab.org
    2222  }}}
    2323
    2424* Once your node is ready and turned on, ssh into the Krypton's host
    25   {{{
     25  {{{#!shell-session
    2626     console:~$ ssh root@sdr2-s1-lg1
    2727  }}}
     
    3434
    3535* Run ''uhd_find_devices' and check if the X310 is detected
    36 {{{
     36{{{#!shell-session
    3737root@sdr2-s1-lg1:~# uhd_find_devices --args="type=x300"
    3838[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.14.1.1-release
     
    5353
    5454* Use the ''uhd_usrp_probe'' command to get more details on the x300. Specifying ''resource=rio0'' ensures only the directly connected radio is probed, instead of the radios on the network.
    55 {{{
     55{{{#!shell-session
    5656root@sdr2-s1-lg1:~# uhd_usrp_probe --args="resource=rio0,type=x300"
    5757
     
    200200==== Prepare the application ====
    201201* Download the application source code from the attachment section below.
    202 {{{
     202{{{#!shell-session
    203203root@sdr2-s1-lg1:~# wget https://wiki.cosmos-lab.org/raw-attachment/wiki/tutorials/basic_usage/spectrum_view.tar.gz
    204 
    205204root@sdr2-s1-lg1:~# tar -zxvf spectrum_view.tar.gz
    206 
    207205}}}
    208206
    209207* Please refer to the README file in SPECTRUM_VIEW directory for instructions on compiling and running the application. Before compiling the application, install and compile a few dependencies.
    210 {{{
     208{{{#!shell-session
    211209root@sdr2-s1-lg1:~# apt update
    212210root@sdr2-s1-lg1:~# apt-get -y install libboost-all-dev liblog4cxx-dev cmake libfftw3-dev libxml2-dev libpopt-dev libsqlite3-dev pkg-config libxml2-utils gnulib
     
    221219
    222220Now if all the dependencies installed successfully, compile application.
    223 {{{
     221{{{#!shell-session
    224222root@sdr2-s1-lg1:~/SPECTRUM_VIEW# make
    225223}}}
     
    231229
    232230* From within the ''SPECTRUM_VIEW'' directory make and run the application to read samples from the Krypton's radio. There are two channels inside the radio which are being read out but only the first channel is displayed.
    233 {{{
     231{{{#!shell-session
    234232root@sdr2-s1-lg1:~/SPECTRUM_VIEW# ./app_read_sdr_samples
    235233 INFO  11:51:08.262 (main.cpp:623) - Starting command server at 5180