Changes between Version 10 and Version 11 of Tutorials/Wireless/Spectrum Sensing
- Timestamp:
- May 11, 2020, 12:54:27 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/Spectrum Sensing
v10 v11 13 13 14 14 * Load baseline_uhd_1804.ndz on your resource. [Documentation/Short/LoadImage - this is done via OMF commands.] 15 {{{ 15 {{{#!shell 16 16 omf load -i baseline_uhd_1804.ndz -t sdr2-s1-lg1.bed.cosmos-lab.org 17 17 }}} 18 18 19 19 * Turn the node on 20 {{{ 20 {{{#!shell 21 21 omf tell -a on -t sdr2-s1-lg1.bed.cosmos-lab.org 22 22 }}} 23 23 24 24 * Once your node is ready and turned on, ssh into the Krypton's host 25 {{{ 25 {{{#!shell-session 26 26 console:~$ ssh root@sdr2-s1-lg1 27 27 }}} … … 34 34 35 35 * Run ''uhd_find_devices' and check if the X310 is detected 36 {{{ 36 {{{#!shell-session 37 37 root@sdr2-s1-lg1:~# uhd_find_devices --args="type=x300" 38 38 [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.14.1.1-release … … 53 53 54 54 * 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 56 56 root@sdr2-s1-lg1:~# uhd_usrp_probe --args="resource=rio0,type=x300" 57 57 … … 200 200 ==== Prepare the application ==== 201 201 * Download the application source code from the attachment section below. 202 {{{ 202 {{{#!shell-session 203 203 root@sdr2-s1-lg1:~# wget https://wiki.cosmos-lab.org/raw-attachment/wiki/tutorials/basic_usage/spectrum_view.tar.gz 204 205 204 root@sdr2-s1-lg1:~# tar -zxvf spectrum_view.tar.gz 206 207 205 }}} 208 206 209 207 * 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 211 209 root@sdr2-s1-lg1:~# apt update 212 210 root@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 … … 221 219 222 220 Now if all the dependencies installed successfully, compile application. 223 {{{ 221 {{{#!shell-session 224 222 root@sdr2-s1-lg1:~/SPECTRUM_VIEW# make 225 223 }}} … … 231 229 232 230 * 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 234 232 root@sdr2-s1-lg1:~/SPECTRUM_VIEW# ./app_read_sdr_samples 235 233 INFO 11:51:08.262 (main.cpp:623) - Starting command server at 5180