Commit Graph

35 Commits

Author SHA1 Message Date
Vasil Velichkov 5968552b47 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 ...
2019-07-18 10:31:26 +02:00
Vasil Velichkov 63e568dc3d Move HR demapping into a separate block 2019-07-18 10:31:26 +02:00
Andrew Artyushok 3e2f883ba0 Add HR demapping 2019-07-18 10:31:26 +02:00
Piotr Krysik ebe95fc7b6 Fix: replaced u_int32 type with uint32 2018-02-27 14:45:14 +01:00
Piotr Krysik 0945cc5512 Changed organization of cmake files
Cmake files were added into subdirectories.
2017-09-13 09:17:50 +02:00
Piotr Krysik a6268a5bc1 Big update of copyright statements so they can be automatically processed to produce debian/copyright file 2017-08-23 16:02:19 +02:00
Roman Khassraf 1591cdebdf Fix for #232 (incorrect facch subtype) 2016-11-20 21:50:23 +01:00
Your Name 4e898834e4 modified: lib/demapping/tch_f_chans_demapper_impl.cc
modified:   lib/demapping/tch_f_chans_demapper_impl.h
2016-07-19 17:21:58 +04:30
Piotr Krysik 27085acf2e Corrected setting of header fields in the universal demapper 2016-05-22 14:07:16 +02:00
Piotr Krysik f517bea1cc Added check of sizes of vectors passed to universal demapper block 2016-05-21 09:02:12 +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 8630fac60c Merged uplink-decoding branch (with complete support for control channels decoding on uplink)
# Conflicts:
#	examples
#	lib/demapping/universal_ctrl_chans_demapper_impl.cc
#	lib/receiver/receiver_impl.cc
2016-05-14 19:37:14 +02:00
iZsh 6698793a24 Fix issue #112 (copy messages instead of modifying the input msg) 2015-08-16 14:52:01 +02:00
Piotr Krysik 9f723fd771 Changed control channels demappers in order to support uplink. Values of parameters for uplink are incorrect at this stage. 2015-08-06 10:23:52 +02:00
ptrkrysik 42411c6ef0 Added more includes of STL containers definitions.
In some configurations lack of these includes cause compile errors.
2015-07-08 10:50:41 +02:00
Roman Khassraf 05bfb82475 Changed author in TCH demapper and decoder 2015-05-22 11:46:00 +02:00
Roman Khassraf 4de8e4a857 Fixed bug in tch_f_demappers check for consecutive bursts 2015-05-22 10:02:20 +02:00
Roman Khassraf 650ce78da0 Moved handling of stolen TCH frames / FACCH to tch_f_decoder. Issues #38 and #50 2015-05-20 12:48:04 +02:00
Roman Khassraf 155a744315 Changed demapping of TCH and FACCH to conform with GSM 05.02 and 05.03 2015-05-08 19:52:01 +02:00
Roman Khassraf fb6bc5009f Implementation of TCH/F demapper block. See issue #38 2015-04-14 15:44:40 +02:00
Roman Khassraf e571e96518 Added subslot assignment to frames, which enables filtering by subslot in e.g. wireshark 2015-04-12 15:35:41 +02:00
Roman Khassraf 939edefa4d First and last frame were not assigned a channel type 2015-04-12 15:20:38 +02:00
Roman Khassraf 275a087a80 Moved channel type assignment into condition to avoid wrong assignments in case of multiple instances of universal_ctrl_chans_demapper_impl. See Issue #33 2015-04-12 15:17:47 +02:00
ptrkrysik d8d4fbc6af Added timeslot nr parameter to the demapper to enable it to work on other timeslots that 0. 2015-02-07 19:37:42 +01:00
ptrkrysik 9d1cb8cfa7 Removed get_bcch_or_cch_bursts block 2015-02-07 19:27:57 +01: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
Piotr K. bb69c799d5 Merge pull request #5 from dholm/feature/osx-support
endian: MacOS X support for endian conversion macros
2014-12-03 00:51:20 +01:00
ptrkrysik 529895b14c Updated copyleft statements of my files #3 2014-12-02 18:07:38 +01:00
David Holm 9880653e0f endian: MacOS X support for endian conversion macros
betohX/htobeX are only available on GNU/Linux.  This change introduces a
header file that maps these functions to the ones available on MacOS X.
2014-12-01 21:27:27 +01:00
ptrkrysik 617ba03ffc Changed format of messages containing bursts to PDU. Corrected types of bursts. 2014-11-21 10:11:05 +01:00
ptrkrysik 6dded65ede Added new configurable block for demapping of control channels. 2014-11-19 11:32:05 +01:00
ptrkrysik 6f6d46db01 Corrected frame number 2014-11-12 22:50:18 +01:00
ptrkrysik 4c82577d16 Repaired cmake buildsystem - include files paths were inconsistent with source files after changing directory structure 2014-08-16 11:34:54 +02:00
piotr df30459028 Added option to the simple mapper 2014-08-04 11:22:47 +02:00
piotr faacc72413 Added typical signalization channels (CCCH, BCCH, SDCCH) decoder and demapper for BCCH.
The implementation is quite dirty at this moment.
2014-07-20 23:48:32 +02:00