path: root/lib/decoding
AgeCommit message (Collapse)AuthorFilesLines
2019-07-18Improve the TCH/H decoder logsVasil Velichkov1-1/+8
- Change "6,90 kbit/s" to "5.9 kbit/s" A typo reported in github ptrkrysik/gr-gsm#456 - Comment out the "Error! frame_nr:" message as it turns out to confuse users more then it actually helps debugging. - When voice-boundary detection is enabled write the name of decoded control channel messages Change-Id: I697ef944f30c4cabb62c888317dd3a7f8dcd5611
2019-07-18MacOS fixesVasil Velichkov1-0/+1
- Include grgsm/endian.h in tch_h_decoder_impl.cc - Revert 0ed39fbf9340bdfb254bec5e3b94d9f00cf9d151 as linking with boost_thread is needed Fixes GH-444 Change-Id: I00884962295082cff3eb64fa21e9f73437be0001
2019-07-18Improve voice boundary detectionVasil Velichkov1-1/+22
Decode Alerting and Progress messages and if the in-band information flag is set start decoding the voice
2019-07-18Add TCH/H decoder block with AMR multirate supportVasil Velichkov3-0/+418
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 - MultiRate configuration Example: grgsm_decode -m TCHH --sub-channel 0 --multi-rate 2811 -o voice.amr ...
2018-09-13Simplify cmake checks related to libosmocorePiotr Krysik1-1/+1
2018-09-13Separating libosmogsm from the restPiotr Krysik1-1/+1
2018-05-11Added functions for arfcn conversions taken from libosmocorePiotr Krysik3-0/+1195
2018-04-16Merge branch 'ptrkrysik/trx' into developmentPiotr Krysik1-1/+1
2018-04-06Reformatting control_channels_decoderPiotr Krysik1-59/+55
2018-04-06Fix an assert in ViterbiR2O4::decodeVasil Velichkov1-2/+2
The table length was wrong becuase matchCostTable is a float pointer and not an array since 792330777d7c21df02ce1ecb6f876b076a14b519 python2.7: /home/user/gr-gsm/lib/decoding/openbts/ViterbiR204.cpp:288: virtual void ViterbiR2O4::decode(const SoftVector&, BitVector&): Assertion `match-matchCostTable<(float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1' failed. (gdb) f 4 #4 0x00007fffdff820c3 in ViterbiR2O4::decode (this=0x5555563bbdf0, in=..., target=...) at /home/vasko/sources/gr-gsm/gr-gsm/lib/decoding/openbts/ViterbiR204.cpp:288 288 assert(match-matchCostTable<(float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1); (gdb) p match-matchCostTable $1 = 2 (gdb) p (float)sizeof(matchCostTable)/sizeof(matchCostTable[0])-1 $2 = 1 (gdb) p (float)sizeof(matchCostTable)/sizeof(matchCostTable[0]) $3 = 2 (gdb) p sizeof(matchCostTable) $4 = 8
2018-03-30Check the gsm0503_xcch_decode return valueVasil Velichkov1-1/+5
- Discard the message when gsm0503_xcch_decode returns -1 - Add automated decrypt test See https://groups.google.com/d/msg/gr-gsm/9nOkIdrGOck/qTZh47McCQAJ
2018-03-04Define __attribute__ and __deprecated__ on MSWinPiotr Krysik1-0/+9
2018-03-04Change buildsystem message on libosmocore not being foundPiotr Krysik1-2/+1
2018-03-04Conditional compilation of local libosmocore depending if there is or is not ↵Piotr Krysik1-5/+10
libosmocore installation present on the system
2018-03-04Fixing warning caused by local libosmocore versionPiotr Krysik2-1/+2
2018-03-03Fixing 'free' positionPiotr Krysik1-1/+2
2018-02-28Removing part that causes problems with 'make test'Piotr Krysik1-3/+0
2018-02-28Adding include to have 'bool' typePiotr Krysik1-0/+1
2018-02-28Slight changes to CMake file and libosmocoding file (include change)Piotr Krysik1-1/+1
2018-02-27Commenting out some problematic and not apsolutely necessary stuff from ↵Piotr Krysik3-29/+34
2018-02-27Fixing types in gsm0503_mappingPiotr Krysik1-3/+3
2018-02-27Moving gsm0503.h to gsm subdirPiotr Krysik1-3/+3
2018-02-27Portability fix: Adding local partial copy of libosmocore (TODO: minimize it)Piotr Krysik56-336/+11241
2018-02-27sch.c: Changed include from local to globalPiotr Krysik1-1/+1
2018-02-27Portability fix: replacing tables of variable size with memory allocationsPiotr Krysik3-31/+60
2017-11-07Moved gsm_constants file to include directoryPiotr Krysik1-1/+1
2017-09-24Removing duplicated lines from cmake filePiotr Krysik1-3/+0
2017-09-18Corrections in the buildsystemPiotr Krysik2-1/+2
2017-09-13Corrections of cmake filesPiotr Krysik2-3/+4
2017-09-13Changed organization of cmake filesPiotr Krysik3-0/+84
Cmake files were added into subdirectories.
2017-08-23Big update of copyright statements so they can be automatically processed to ↵Piotr Krysik11-19/+160
produce debian/copyright file
2017-08-23Moved openbts codes into a separate directory and updated their license ↵Piotr Krysik16-277/+275
statements so they can be automatically processed
2017-01-03Changes in decoding:Piotr Krysik15-2/+6910
-copied decoding routines from libosmocore to gr-gsm, -made cmake files entries for new source files and added linking with libosmocodec, -moved sch.c file to decoding folder.
2016-10-02TCH decoding with libosmocorePiotr Krysik1-48/+36
2016-10-02Control channels decoding with libosmocorePiotr Krysik8-938/+14
2016-09-28Moved control channels decoder to libosmocore implementationPiotr Krysik2-64/+40
2016-08-18TCH/F decoding correction - less wrong messages interpreted as voice framesPiotr Krysik1-2/+2
2016-06-29Corrections of tch/f decoder - removal of parameter continuedPiotr Krysik2-5/+5
2016-06-29Added voice output, removed saving to file from inside the decoder - now it ↵Piotr Krysik2-22/+22
should be done GNU Radio way
2016-02-27Fix buffer overrun/silence compiler warningSteve Glass2-2/+2
2015-08-16Fix issue #112 (copy messages instead of modifying the input msg)iZsh2-8/+4
2015-08-11Fixed missing GSM 06.10 header for FR audio frames.Roman Khassraf1-1/+2
2015-08-11Implemented boundary check for voice decoding. Issue 107Roman Khassraf2-4/+40
2015-07-11Added handling of channel mode modify messages for AMRRoman Khassraf1-2/+53
2015-07-06Applied again bugfix for issue #65 (it was removed during one of merges)ptrkrysik2-1/+2
2015-06-07Removed unused or duplicate codeRoman Khassraf5-145/+1
2015-06-07Implemented / integrated AMR decodingRoman Khassraf9-65/+3481
2015-06-02Removed check for tail bits, as it may lead to false discarding of framesRoman Khassraf1-6/+1
2015-06-02Moved variable declaration to header fileRoman Khassraf2-20/+30
2015-06-02Changed tch_mode enum to support AMRRoman Khassraf1-3/+3