Changes between Version 6 and Version 7 of Cross/GNURadioReferenceImplementation
- Timestamp:
- 08/05/09 11:12:03 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Cross/GNURadioReferenceImplementation
v6 v7 76 76 77 77 === Running the GNUradio Demo Application === 78 At this point both the Shell component and the DSA CBR Cognitive Engine should be connected. These two components constitute a simple, yet functional CROSS system. The last thing to do is to have an application that is aware of the parameters in the Radio XML Configuration file, use the CROSS library to communicate with the system.78 Both the Shell component and the DSA CBR Cognitive Engine should be connected. These two components constitute a simple, yet functional CROSS system. The last thing to do is to have an application that is aware of the parameters in the Radio XML Configuration file, use the CROSS library to communicate with the system. 79 79 80 A GNUradio reference implementation application for demonstrating how to access the functionality of the CROSS library in the {cross_src_dir}/src/ cognitive_engines/examples/gnuradio-examples/ directory.80 A GNUradio reference implementation application for demonstrating how to access the functionality of the CROSS library in the {cross_src_dir}/src/examples/python/gnuradio-examples/ directory. 81 81 82 In this directory is ''benchmark_dsa.py'' and several other utility python files that come from the stock GNUradio 3.2 source. The only modified file in this directory is ''benchmark_dsa.py''. 82 In this directory is ''benchmark_dsa.py''. This file needs to be copied to the GNUradio examples directory in order to function properly. It uses several of the python utility function files. 83 84 {{{ 85 cp benchmark_dsa.py <gnuradio_src>/gnuradio-examples/python/digital/ 86 }}} 83 87 84 88 benchmark_dsa.py is a modification of the gnuradio benchmark_rx/tx example script and integrates spectrum sensing with dynamic spectrum access. If the CROSS source was compiled correctly, there will be a CROSS python package installed. benchmark_dsa.py imports this package so it can communicate with an online CROSS system. benchmark_dsa.py can also be ran WITHOUT cross. In this case the channel selection algorithm is random, rather than having the CROSS Cognitive Engine decide.