Changes between Version 16 and Version 17 of Tutorials/Wireless/Basic Usage


Ignore:
Timestamp:
Jan 7, 2020, 7:12:49 PM (4 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/Basic Usage

    v16 v17  
    193193
    194194=== Configure and run the application ===
    195 Download the application source code from the attachment section below.
     195* Download the application source code from the attachment section below.
    196196{{{
    197197root@sdr-console> wget https://wiki.cosmos-lab.org/raw-attachment/wiki/tutorials/basic_usage/spectrum_view.tar.gz
     
    201201}}}
    202202
    203 Please refer to the README file in SPECTRUM_VIEW directory for instructions on compiling and running the application. Before compiling install a few required libraries.
     203* Please refer to the README file in SPECTRUM_VIEW directory for instructions on compiling and running the application. Before compiling install a few required libraries.
    204204{{{
    205205root@sdr-console> apt update
     
    208208
    209209
    210 Now compile and make the websocket library.
     210* Now compile and make the websocket library.
    211211{{{
    212212root@sdr-console> make websocket
    213213}}}
    214214
    215 Lastly compile the application - this will generate the executable ''app_read_sdr_samples'' that reads samples from the SDR.
     215* Lastly compile the application - this will generate the executable ''app_read_sdr_samples'' that reads samples from the SDR.
    216216{{{
    217217root@sdr-console> make
    218218}}}
    219219
    220 
    221 Run the application - this will start a server that listens for commands to configure the radio and stream received spectrum samples.
     220* Run the application - this will start a server that listens for commands to configure the radio and stream received spectrum samples.
    222221{{{
    223222root@sdr-console> ./app_read_sdr_samples
     
    229228
    230229=== Visualize spectrum samples  ===
    231 Download the spectrum visualizer web client to your desktop. It is all in another zip file - ''spectrum_view.zip''. Unzip this folder and open ''spectrum_view.html'' in a Chrome browser.
    232 
    233 When the viewer is first opened, the page display should be similar to the following
     230* Download the spectrum visualizer web client to your desktop. It is all in another zip file - ''spectrum_view.zip''. Unzip this folder and open ''spectrum_view.html'' in a Chrome browser.
     231
     232 When the viewer is first opened, the page display should be similar to the following
    234233 || [[Image(basic_usage_spectrum_view_1.png, width=500px)]] ||
    235234
    236235
    237 
    238 Ensure the localhost field is set to ''localhost:5002''. (Recall from the set up section to create a tunnel from localhost:5002 to sdr2-lg1.sb1.cosmos-lab.org:9002 since the ''app_read_sdr_samples'' application has a websock server listening on that host:port.)
    239 Ensure the device type field is set to ''type=x300''.
    240 
    241 
    242 Click the ''connect'' button once and a "Websocket Connection" statement should be output by the application.
    243 Now click on ''make'' to create a device handle.
    244 
    245 The RF radio parameters are already populated with default values for 2.4 GHz WIFI band. To view other active spectrum bands change the RATE, FREQ, GAIN fields to
     236* Set the localhost field to ''localhost:5002''. (Recall from the set up section to create a tunnel from localhost:5002 to sdr2-lg1.sb1.cosmos-lab.org:9002 since the ''app_read_sdr_samples'' application has a websock server listening on that address:port.)
     237
     238 Set the device type field is set to ''type=x300''.
     239
     240 Click the ''connect'' button once and a "Websocket Connection" statement should be output by the application.
     241
     242 Now click on ''make'' to create a device handle.
     243
     244 The RF radio parameters are already populated with default values for 2.4 GHz WIFI band. To view other active spectrum bands change the RATE, FREQ, GAIN fields to
    246245
    247246 || RF Parameter || value || description ||
     
    249248 || FREQ || 1925e6 || Center frequency ||
    250249 || GAIN || 30 || Receive gain ||
    251 Then click on ''Submit'' to update the SDR.
    252 
    253 Click on the ''Halted'' button to begin streaming samples from the radio to the browser. This should display the spectrum if all went well.
     250 Then click on ''Submit'' to update the SDR.
     251
     252 Click on the ''Halted'' button to begin streaming samples from the radio to the browser. This should display the spectrum if all went well.
    254253 || [[Image(basic_usage_spectrum_view_3.png, width=500px)]] ||
    255254
    256255
    257256=== Troubleshooting ===
    258 Check the troubleshooting section in the [https://wiki.cosmos-lab.org/wiki/tutorials/krypton_usage Krypton usage page] for common errors.
     257* Check the troubleshooting section in the [https://wiki.cosmos-lab.org/wiki/tutorials/krypton_usage Krypton usage page] for common errors.