Commit Graph

158 Commits

Author SHA1 Message Date
Piotr Krysik df417739b0 cmake: make formatting of install statements follow one pattern
Change-Id: Ib7d571af629b0af78397a411b0cca409a6d218d8
2021-05-03 07:14:00 +02:00
Vasil Velichkov 14ea82d227 Migrate grc blocks from xml to yaml
Convert the blocks using cmdline_converter.py script from
c861a840e3/cmdline_converter.py

Change-Id: Iee5c611a2e100bd2fdf487611a867dc937d8c292
2021-05-03 07:14:00 +02:00
Vasil Velichkov c5bb436cda Fix the TCH/H decoder and demapper XML definitions
- The second argument of tch_h_decoder constructor is a string that
  accepts the value of MultiRate configuration element and not an enum
  like the tch_f_decoder decoder.
- Make the demapper's burst sink required.
- Make all parameters visible.
- Rename the TCH/H Channel parameter to Sub-channel number.
- Add the qa_tch_h_decoder test in the CMakeLists.txt
- Fix several typos

Change-Id: I92d4f49955c634df7d76f17cfb58d7106846c1bd
2019-03-19 17:36:28 +02:00
Vasil Velichkov 7f259fdb68 Add TCH/H decoder block with AMR multirate support
Add new TCHH channel mode
Add two new optional arguments

    -m CHAN_MODE, --mode=CHAN_MODE
                        Channel mode. Valid options are 'BCCH' (Non-combined
                        C0), 'BCCH_SDCCH4'(Combined C0), 'SDCCH8' (Stand-alone
                        control channel) 'TCHF' (Traffic Channel, Full rate),
                        'TCHH' (Traffic Channel, Half rate)

    --sub-channel=TCH_H_CHANNEL
                        TCH/H sub-channel. [default=0]
    --multi-rate=MULTI_RATE
                        The MultiRrate configuration element from the
                        Assigment Command message. Example: 28111a40. See 3GPP
                        TS 44.018 - 10.5.2.21aa MultiRate configuration

Example:
    grgsm_decode -m TCHH --sub-channel 0 --multi-rate 2811 -o voice.amr ...
2018-12-29 00:52:05 +01:00
Vasil Velichkov 1828a315a8 Move HR demapping into a separate block 2018-12-29 00:52:05 +01:00
Andrew Artyushok fbcee39107 Add HR demapping 2018-12-29 00:52:05 +01:00
Vadim Yanitskiy 5394c6012d gsm_trx_burst_if: allow to customize the bind address
Pleviously remote address for DATA interface was also used as the
bind address, what is definitely wrong. Let's change the API a bit
in order to allow one to specify a custom bind address.

Change-Id: I6e5f7b7119ac454217b8dd04f9ee0dd3b23972b6
2018-08-10 16:38:59 +07:00
Piotr Krysik 650a436a8d Fix burst_to_fn_time name in gsm_burst_to_fn_time.xml 2018-05-05 12:40:14 +02:00
Piotr Krysik 993055342d Moving trx burst interface to trx directory
and to new 'Transceiver' cathegory in gnuradio-companion
2018-05-05 12:38:11 +02:00
Piotr Krysik 3c1452f94f Fix gsm_msg_to_tag block record in grc/gsm_block_tree.xml
so it appear in gnuradio-companion
2018-05-05 12:24:33 +02: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 c097ce73c5 Added block for extracting assignment commands 2018-03-05 13:16:32 +01:00
Piotr Krysik f0c83d84e0 Fixing missing callback to set_fc in clock_offset_control block 2018-01-23 15:07:08 +01:00
Vadim Yanitskiy 0aafe2856d Implement the 'burst_to_fn_time' block in C++ 2017-12-04 01:48:43 +07:00
Piotr Krysik 2344483869 Added a block for generating Access Bursts 2017-11-29 16:39:22 +01:00
Piotr Krysik f849fafd92 Changed input and output name for burst_type_filter 2017-11-11 11:14:26 +01:00
Piotr Krysik 2c004741d6 Corrected output name for burst_to_fn_time 2017-11-11 11:13:52 +01:00
Piotr Krysik 1243ffaf3e Changed name of of preprocess_tx_burst xml file, and removed 'executable' bit from two xml files 2017-11-08 14:35:03 +01:00
Piotr Krysik 8d7b64d109 Added Python version of bursts to fn_time converter 2017-11-08 14:34:02 +01:00
Piotr Krysik ccb5e689e1 Added tx bursts preprocessing block 2017-11-07 19:34:22 +01:00
Piotr Krysik acc365f2f1 Added C++ version of burst type filter 2017-11-07 19:31:42 +01:00
Vadim Yanitskiy 8e9b3075d7 grc/gsm_trx_burst_if.xml: fix prefix of <key> value 2017-11-05 17:33:26 +01:00
Vadim Yanitskiy 51a95dfd40 grc/gsm_block_tree: add forgotten gsm_trx_burst_if block 2017-11-05 17:33:26 +01:00
Vadim Yanitskiy 25916f3908 Clean up the "TRX Burst Interface" block description 2017-11-05 17:33:26 +01:00
Vadim Yanitskiy e601c366bd Refactor the 'TRX Burst Interface' block
The following changes were made:

  - Both implementation and headers were merged with misc_utils
  - Fixed namespace mess: was gr::grgsm, became gr::gsm
  - More accurate class name was chosen: "trx_burst_if"
2017-11-05 17:33:26 +01:00
Piotr Krysik 517464c0a9 Added txtime_setter block (a c++ version of txtime_bursts_tagger Python block) 2017-11-05 12:23:15 +01:00
Piotr Krysik 42b2186b17 Added timing advance and delay corerrection to txtime_burst_tagger block 2017-10-19 09:20:23 +02:00
Piotr Krysik 96f2ea75b0 Correction needed to make TX and RX integration work 2017-10-16 15:47:08 +02:00
Piotr Krysik ff5d81de50 Added gmsk modulator block for gsm 2017-09-27 21:56:42 +02:00
Piotr Krysik 27f003267c Adding block for tagging bursts 2017-09-19 08:05:28 +02:00
Piotr Krysik 2164b9be57 Added new block for tagging bursts messages with txtime 2017-09-13 09:33:27 +02:00
Piotr Krysik e6e787959f Merge branch 'fixeria/trx' into development
# Conflicts:
#	swig/grgsm_swig.i
2017-09-12 11:45:20 +02:00
Vadim Yanitskiy 780816d12a trx_interface: make both source and sink ports optional 2017-07-19 14:05:17 +07:00
Vadim Yanitskiy ac3a527c98 trx_interface: implement incoming data handler
This change implements a receive path for UL bursts, namely
the OsmoTRX style header conversation to GSMTAP.
2017-07-19 14:02:49 +07:00
Vadim Yanitskiy 99be625855 trx_interface: follow common block naming style 2017-07-16 23:26:34 +07:00
Vadim Yanitskiy 89fc14ba44 Implement transceiver interface
This change introduces a new block 'TRX Interface', which is aimed
to provide an interface for external applications, such as Osmocom
MS side stack implementation - OsmocomBB. Currently one allows to
exchange raw GSM bursts between GR-GSM and other applications.

Moreover, there is a new 'trx.py' application, which implements a
simple follow graph, where all demodulated bursts are being sent
to external application via UDP link provided by 'TRX Interface'.
OsmoTRX (Osmocom's fork of OpenBTS transceiver) like control
interface is used to initialize, configure, start and stop the
application. Messages on this interface are human readable ASCII
strings, which contain a command and some related parameters.
2017-07-07 22:12:52 +07:00
Piotr Krysik c97a7ff8a0 Removed wideband_input_adaptor 2017-06-11 17:39:05 +02:00
Piotr Krysik 369bdb37c1 Merge branch 'master' into collect-system-info 2017-02-16 20:51:36 +01:00
Roman Khassraf 98581a8e92 Implemented system info collection block 2017-01-11 13:33:12 +01:00
Roman Khassraf e5ddab3e1d #240: Implemented block for extraction of information from cipher mode command messages 2016-12-04 16:19:40 +01:00
Piotr Krysik a3405b285d Changed path (flow_control) and name of uplink_downlink_filter to splitter 2016-08-30 21:31:24 +02:00
Piotr Krysik 0454dafdbc Optional in/out for tch/f demapper 2016-08-18 18:57:26 +02:00
Piotr Krysik 601195bc18 Little corrections to uplink/downlink filter 2016-08-18 18:56:24 +02:00
Piotr Krysik 2bb54c8fcd Added uplink/downlink splitter 2016-08-16 16:05:23 +02:00
Piotr Krysik 89ff899986 Moved remaining msg_to_tag and controlled resampler files to proper directories 2016-07-18 10:24:35 +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 83afe7390f Changed clock offset controller and company in order to remove from the gsm_input one of the resamplers. 2016-07-17 22:48:35 +02:00
Piotr Krysik d1ca389dbf Corrections to clock offset corrector that uses tags 2016-07-17 11:33:50 +02:00
Piotr Krysik 19028868cc Merge branch 'development' of https://github.com/ptrkrysik/gr-gsm into development 2016-07-15 13:21:44 +02:00