As the directory structure in the repository is different then the one
after the package gets installed we need to add those subdirectories to
the __path__ otherwise python3 is not able to load the modules using the
relative import syntax and grcc compilation and some unit tests fail.
Mofiy __path__ only when the CMAKE_BINARY_DIR environment variable is
present.
Revert "grgsm_livemon: Set cell_allocation to [0]"
This reverts commit 013d4c258c6ad31c2581f0caa4eee3aa609fd9de.
Change-Id: I223fd6181e8e36027039301186b671712a597ff8
Traceback (most recent call last):
File "/home/vasko/gr38/lib/python3.7/dist-packages/gnuradio/grc/core/FlowGraph.py", line 216, in renew_namespace
value = eval(parameter_block.params['value'].to_code(), namespace)
File "<string>", line 1, in <module>
NameError: name 'localhost' is not defined
Change-Id: I6bae2fb1f09038cb0cd3410533d3b3fdc79ed354
Gnuradio 3.8 does not like cell_allocation: '[arfcn.downlink2arfcn(fc)]'
and the Receiver block does not work with an empty cell allocation array
gnuradio.grc.core.platform:["Param - Cell allocation(cell_allocation):\n\tExpression None is invalid for type'float_vector'."]
Change-Id: Iae6de844509b13bdf834c9c7443382b1ab3b0a28
It seems gnuradio 3.8 does not like parameters with type None and does
not put them as command line arguments
Change-Id: Id67e37e826aa1cc14640d57207a92def682f11e3
Because of the following error when used with USRP B100
[INFO] [MULTI_USRP] 1) catch time transition at pps edge
Traceback (most recent call last):
File "./grgsm_livemon.py", line 365, in <module>
main()
File "./grgsm_livemon.py", line 343, in main
tb = top_block_cls(fc=options.fc, gain=options.gain, osr=options.osr, ppm=options.ppm, samp_rate=options.samp_rate, shiftoff=options.shiftoff)
File "./grgsm_livemon.py", line 114, in __init__
self.rtlsdr_source_0.set_time_unknown_pps(osmosdr.time_spec_t())
File "/home/vasko/gr38/lib/python3.7/dist-packages/osmosdr/osmosdr_swig.py", line 2543, in set_time_unknown_pps
return _osmosdr_swig.source_sptr_set_time_unknown_pps(self, time_spec)
RuntimeError: RuntimeError: Board 0 may not be getting a PPS signal!
No PPS detected within the time interval.
See the application notes for your device.
Change-Id: Iee6124bdb2441666a53ac9ee5239894aea61dfde
Convert by opening them in gnuradio-companion 3.8.0.0 (Python 3.7.4)
and then File -> Save As under different name without any other
modifications
Change-Id: I73023fc66d1ffd6c714a0610962c005395dc126b
When gr-osmosdr is compiled with SoapySDR support and SoapyAudio is
installed the audio device is picked as a first choice when detecting
devices but grgsm tools are not able to work with audio devices. So in
such cases the user has to always specify the correct SDR device in the
args parameter which is a bit inconvenient.
When args is not specified call osmosdr.device_find to get all devices
and filter out unspported ones like SoapyAudio devices. When args is
specifed just try to create osmosdr.source with whatever value has been
specified.
Add -l and --list-devices command line option that prints information
about all detected devices.
Example commands:
grgsm_capture --list-devices
grgsm_capture --list-devices --args=nofake
grgsm_capture --args=uhd,type=b210 -a 111 capture.cfile
grgsm_livemon --args=rtl
grgsm_livemon --args=uhd,type=b210
Change-Id: Ib84081041ca6c2bc18b9da0c32bac9d3ecef65ca
In the GSM input adaptor and GSM Receiver blocks the osr was hardcoded
to 4 and cannot be changed using the command line parameter.
Change-Id: I4e85b898f05db636f18fdea6e5fee4fed6e0382a
Instead of printing messages in parallel to the UDP package sending,
move the printing to after the UDP server block. This make it both
possible to disable message printing by changing the server port to a
different value from the client port, and to print messages collected
by several clients by pointing all clients to the same server.
Change adressing #140 enhancement request.
It is possible to select rtl-sdr dongle:
-with device index through commanline parameter: `--args="rtl=1"` (where 1 is the device index). Caution: device index is not unique identifier and it changes on each connection of the dongle.
-with devices serial number, the commandline option in this case has following form: `--args="rtl=00000001"` (where 00000001 is the serial number).
NOTE: You can set the serial number with use of:
```sh
rtl_eeprom -s <serial_number>
```