Commit Graph

30 Commits

Author SHA1 Message Date
Vasil Velichkov 284f1dbb40 Log import errors as currently GRC 3.8 suppress them
See gnuradio/grc/core/FlowGraph.py:194

Change-Id: Ie6213428c218720692a544c98dc32c16bd50cbe1
2021-05-03 07:14:00 +02:00
Vasil Velichkov 6eea94f7de Fix grcc compilation with python3 by adding local subdirs to __path__
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
2021-05-03 07:14:00 +02:00
Vasil Velichkov 783a1f7b56 Remove the RTLD_GLOBAL hack
It was removed from gnuradio back in 2014
39f14138ac

Change-Id: I1604ad5b9eefe3d4a2228b2a09e2069962844c97
2021-05-03 07:14:00 +02:00
Vasil Velichkov 46c90bec99 Various python3 related changes
- Use relative import for grgsm's modules
- Convert map to list
- Remove the hier_block.py workaround as as gnuradio 3.7 is no longer
  supported in this branch

Change-Id: I5ca8fd340823996e8c444aaf18ddacd85c92ab1c
2021-05-03 07:14:00 +02:00
Vasil Velichkov 1789ae28ee GNU Radio 3.8 support
https://wiki.gnuradio.org/index.php/GNU_Radio_3.8_OOT_Module_Porting_Guide

Change-Id: I23dd638c8c48ed0a4b50559ce33fbd5e60b7dcbc
2021-05-03 07:14:00 +02:00
Vasil Velichkov 54580d148d Filter out SoapyAudio devices
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
2019-05-03 00:20:34 +03:00
Piotr Krysik 2471052cfe Merge branch 'fixeria/trx' of https://github.com/axilirator/gr-gsm into fixeria_trx
# Resolved conflicts:
#	apps/grgsm_trx
#	python/trx/radio_if.py
#	swig/grgsm_swig.i
2018-04-17 09:10:33 +02:00
Piotr Krysik 8a8d41a583 Merge branch 'ptrkrysik/trx' into development 2018-04-16 22:21:29 +02:00
Piotr Krysik d0a136b1a7 Portability fix: experimental blocks require numpy and scipy which causes problems on Windows. Don't load them by default. 2018-02-27 14:45:14 +01:00
Vadim Yanitskiy 0aafe2856d Implement the 'burst_to_fn_time' block in C++ 2017-12-04 01:48:43 +07:00
Piotr Krysik 6ed10a1dfc Missing __init__.py part for burst_to_fn_time 2017-11-11 11:12:36 +01:00
Vadim Yanitskiy eecab7eaf4 python/trx: install helper classes as a grgsm submodule 2017-11-05 17:33:26 +01:00
Piotr Krysik ff5d81de50 Added gmsk modulator block for gsm 2017-09-27 21:56:42 +02:00
Piotr Krysik 902f4ebaf0 Moved trx utilities from apps subdirectory - the grgsm_trx app need to be updated 2017-09-19 08:04:33 +02:00
Piotr Krysik c97a7ff8a0 Removed wideband_input_adaptor 2017-06-11 17:39:05 +02:00
Piotr Krysik 74c4ca9627 Removed blocks related to old frequency correction loop (controlled const source and old clock offset corrector) 2016-07-18 10:23:24 +02:00
Piotr Krysik 0982673af1 New clock offset corrector and clock offset control 2016-07-15 13:14:24 +02:00
Piotr Krysik 773a194c32 Big change of the universal control channels demapper:
-simplification of the universal demapper,
-addition of hierarhical blocks for each of the demappers - so they also look well and readable in python,
-addition of helper script for compilation of the demappers.
2016-05-20 12:45:54 +02:00
Piotr Krysik 8715da0893 Fixed all hierarchical blocks in the project
by adding a hier_block class that solves incompatibility between GNU Radio >=3.7.9 and <=3.7.8
and inheriting all hierarchical blocks from it.
This commit fixes #135
2016-01-06 22:21:09 +01:00
rpp a49a4d2b96 Implemented multiband channelizer as gr-gsm block. 2015-10-05 09:57:03 +02:00
Roman Khassraf 91448618d4 Added arfcn functions 2015-08-21 11:14:51 +02:00
ptrkrysik f8c7e83298 Reimplemented clock_offset_control block in C++ 2015-04-04 12:28:20 +02:00
ptrkrysik 3be74a732b Changed grgsm install directories and prefixes from "gsm" to "grgsm". The old prefix caused conflicts with libraries already available. 2014-12-13 10:11:00 +01:00
ptrkrysik dac3b2a309 Added new block which adapts stream of samples to GSM receiver's input requirements (integer multiply of 1625000/6 symbol rate, LP filtering) 2014-11-06 14:47:33 +01:00
ptrkrysik b108d6b7c7 Removed receiver_hier and wireshark_sink 2014-11-06 13:51:02 +01:00
piotr 1c8de50663 Changes to make clock_offset_corrector install and work on other machines 2014-08-06 16:01:40 +02:00
piotr 4089c1a7f3 Added new blocks for clock freqeuncy correction 2014-08-06 14:10:56 +02:00
piotr dda22272e7 Added new block for extracting info about base stations 2014-08-04 11:31:54 +02:00
piotr 6b78abc7bd Added new blocks written in python for new experimental gsm receiver.
FCCH burst tagger is element of hierarchical block - FCCH detector that adds tags after every detected FCCH burst. The value of each tag is a frequency offset estimate.
SCH detector waits for tags from FCCH detector which are used to find SCH burst position. It is unfinished.
2014-07-08 23:29:13 +02:00
piotr 437f5467a1 Initial commit - gsm-receiver with removed quick hacks 2014-02-04 17:57:25 +01:00