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


Ignore:
Timestamp:
Nov 7, 2019, 5:28:23 AM (5 years ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/Spectrum Sensing

    v9 v10  
    199199
    200200==== Prepare the application ====
    201 Download the application source code from the attachment section below.
     201* Download the application source code from the attachment section below.
    202202{{{
    203203root@sdr2-s1-lg1:~# wget https://wiki.cosmos-lab.org/raw-attachment/wiki/tutorials/basic_usage/spectrum_view.tar.gz
     
    207207}}}
    208208
    209 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.
     209* 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.
    210210{{{
    211211root@sdr2-s1-lg1:~# apt update
     
    225225}}}
    226226==== Setup SSH tunnel ====
    227 set up a tunnel from localhost:5002 to sdr2-lg1.sb1.cosmos-lab.org:9002. This will be used by the web app to connect to a server running on the Krypton's host.
    228 
     227* Set up SSH tunnel from your local port 5002 to sdr2-s1-lg1.bed.cosmos-lab.org:9002 (See [https://wiki.cosmos-lab.org/wiki/tutorials/ssh_tunnel])
     228This will be used by the web app to connect to a server running on the Krypton's host.
    229229
    230230==== Run the experiment ====
    231231
    232 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.
     232* 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.
    233233{{{
    234234root@sdr2-s1-lg1:~/SPECTRUM_VIEW# ./app_read_sdr_samples
     
    238238}}}
    239239
    240 In short the application runs a server listening for commands. Just to briefly demonstrate some functionality, open the spectrum_view.html file in a Chrome browser.
     240In short the application runs a server listening for commands.
     241* Just to briefly demonstrate some functionality, open the spectrum_view.html file in a Chrome browser.
    241242
    242243When the viewer is first opened, the page display should be similar to the following
     
    245246Ensure the localhost field is set to ''localhost:5002'' and the device type field is set to ''type=x300''.
    246247
    247 Click the ''connect'' button once and a "WebSocket Connection" statement should be output by the application.
    248 Now click on ''make'' to create a device handle. Finally click on ''submit'' to adjust the radio parameters and the ''Go'' button to display a short spectrum bandwidth.
     248* Click the ''connect'' button once and a "WebSocket Connection" statement should be output by the application.
     249Now click on ''connect'' again to create a device handle. Finally click on ''submit'' to adjust the radio parameters and the ''Halted'' button to display a spectrogram.
    249250
    250251Keep the default values for RATE, FREQ, GAIN and click on the HALTED button. This should display the spectrum if all went well.