Commit Graph

361 Commits

Author SHA1 Message Date
Piotr Krysik 963f8b2031 Make burst_source stop when end of file is reached 2015-05-31 11:51:09 +02:00
Roman Khassraf cd5a48bd6c Implemented a burst sink and a burst source. See issue #42 2015-05-28 19:23:55 +02:00
Roman Khassraf 05bfb82475 Changed author in TCH demapper and decoder 2015-05-22 11:46:00 +02:00
Roman Khassraf 091a80fffe Fixed missing magic bytes for GSM-EFR output file 2015-05-22 10:39:16 +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 059bab9c0b Implementation of TCH/F decoder supporting GSM-FR and GSM-EFR. Issue #50 2015-05-20 12:49:46 +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 79fb925f27 Merge remote-tracking branch 'upstream/master' 2015-05-08 09:22:50 +02:00
ptrkrysik a25b830552 Changes in buildsystem bringing back capability to quickly add new blocks with use of gr_modool. 2015-05-08 08:59:17 +02:00
Martin Jesper Low Madsen af7696425e Define missing 16 bit endian swap macro and fix some endian.h inclusion. 2015-04-28 22:33:43 +02:00
ptrkrysik 5817a79e56 Included endian.h to compile the decrytpion on OSX. Corrected issue #43 2015-04-25 18:51:08 +02:00
ptrkrysik 2d639dae65 Removed unnecessary includes from decryption block. 2015-04-25 18:35:00 +02:00
Roman Khassraf fb6bc5009f Implementation of TCH/F demapper block. See issue #38 2015-04-14 15:44:40 +02:00
Roman Khassraf 717b57b96b Added option to prepend framenumber in bursts_printer 2015-04-12 18:09:45 +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 32c2116d88 Removed boost timer from clock_offset_control to avoid race conditions.
The time is now tracked by the receiver based on samples count and send through the 'measurements' interface to the clock_offset_control.
clock_offset_control takes time into account during fcch_search.
2015-04-04 14:01:52 +02:00
ptrkrysik f8c7e83298 Reimplemented clock_offset_control block in C++ 2015-04-04 12:28:20 +02:00
ptrkrysik 4739c94cfc DECRYPTION NOW WORKS! (Corrected decryption block) 2015-02-07 19:51:03 +01: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
banjaxbanjo 9e661ca4ba Addition of processing of type 2 and 3 paging requests (previous commit) - credit to banjaxbanjo <paulkinsella29@yahoo.ie> 2015-01-18 10:19:29 +01:00
ptrkrysik 8c6e6ac918 Addition of processing of Pagin Requests Type 2 and 3
Signed-off-by: banjaxbanjo <paulkinsella29@yahoo.ie>
2015-01-18 10:00:36 +01:00
ptrkrysik 03da5c6b2a Changed code to use C++ functions, and select Panging Requests starting from message type byte - the effect will be probably shorter and easier to read code. 2015-01-18 09:56:26 +01:00
banjaxbanjo 6f27bcffcc Update tmsi_dumper_impl.cc 2015-01-16 11:16:08 +00:00
banjaxbanjo 27ca8696ed Update tmsi_dumper_impl.cc
Updated errors and took out for loop that was not needed.

dumps tmsi-timestamp-imsi

Timestamp is when tsmi or imsi was first paged.

d121c26b-150116085023-0
43102519-150116085024-0
06086648-150116085024-0
160f49af-150116085024-0
d8216e56-150116085024-0
00090536-150116085024-0
fb21f029-150116085024-0
d121662c-150116085024-0
c122ac70-150116085024-292730**********

imsi is filtered out for privacy reason but its not in working code.

Code is used for locating tmsi from silent sms.
2015-01-16 09:01:49 +00:00
ptrkrysik dd700c17fe Moved files to gr-gsm directories. Changed CMakeLists.txt files accordingly. 2015-01-15 11:47:38 +01:00
ptrkrysik 258bbb8e92 Added in tmsi_dumper.cc and tmsi_dumper.h function that processes messages (dump_tmsi(...)).
Registered the input inside of the constructor.
2015-01-15 11:31:47 +01:00
ptrkrysik 916292298f Removing unnecessary forecast() and general_work(...) functions.
Made changes to make tmsi_dumper compile.
2015-01-15 10:28:14 +01:00
ptrkrysik 82bd117a16 After:
mkdir include/gsm
gr_modtool add tmsi_dumper
code type: general
language: C++
empty argument list
2015-01-15 09:35:03 +01:00
ptrkrysik 2f0f4c391b Correction in system information extractor 2015-01-12 22:59:05 +01:00
Piotr Krysik eee456ca54 Merge pull request #6 from dholm/bugfix/gnuradio-HEAD
receiver: Use std::vector for gr_complex
2015-01-03 12:14:12 +01:00
ptrkrysik ef5e2dbf47 Removed some typedefs 2015-01-03 12:10:14 +01:00
ptrkrysik 3b77654b89 Merge branch 'master' of https://github.com/mrjacobagilbert/gr-gsm into mrjaco-master
Added appropriate changes to grc files, corrected CMakeLists files
2015-01-03 00:06:39 +01:00
ptrkrysik 8038b2e1eb Added notices of THC's project in files originating from it. Added also mention of THC at "Thanks" section. 2014-12-15 23:10:48 +01:00
ptrkrysik a1871f5cd1 Correction in decryption block 2014-12-15 09:38:00 +01:00
ptrkrysik a31a481fd1 Corrected extract_system_info_impl to work with PDU messages 2014-12-15 09:10:01 +01:00
ptrkrysik 18b631eb71 Added new decryption block (be careful - untested component). Changed CMakeFiles to reflect more modular design (not finished for the lib directory) 2014-12-15 09:09:18 +01:00
Jacob Gilbert 607a09e4ce Updated burst printer to accept a pmt string which will be prepended to any printed messages for situations where multiple print blocks are desired. 2014-12-13 10:41:20 -08:00
Jacob Gilbert e89aee1934 Updated message printer to accept a pmt string which will be prepended to any printed messages for situations where multiple print blocks are desired. 2014-12-13 10:32:21 -08:00
ptrkrysik 5ad7d630a5 Added return value to fire_crc (by Matin Hauke) 2014-12-13 11:39:53 +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
ptrkrysik 30f3945164 Commented boost libraries linked in order for plotting to work. Don't know how to force pybombs to install boost_iostreams. 2014-12-05 18:25:58 +01:00
ptrkrysik 402c1fac30 Added missing #include statements in order to make gr-gsm compile on some systems.
CLoses issue #8.
2014-12-03 22:09:29 +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 aea7f34e90 Added checking for Volk presence according to @dholm #4 pull request. 2014-12-03 00:37:57 +01:00
ptrkrysik d57745d31f Removed assert.h as it caused more problems than it was worth. Fixes #7 2014-12-02 19:05:36 +01:00
ptrkrysik 529895b14c Updated copyleft statements of my files #3 2014-12-02 18:07:38 +01:00
David Holm f2497bdb70 receiver: Use std::vector for gr_complex
On GNU Radio HEAD the type gr_complex is not POD so it cannot be placed
inside a variable size array.  This change makes rhh_temp a std::vector
instead to fix this issue.

If this function is performance critical rhh_temp should probably be
made into a max-size array and put on the top of the stack instead.
2014-12-01 21:30:44 +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 8db1561f9a Removed a debug message that was left accidently. 2014-11-21 16:32:17 +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 18df2f390e Removed setting channel type from the decoder - this is now done in demapping stage. 2014-11-19 11:33:08 +01:00
ptrkrysik 6dded65ede Added new configurable block for demapping of control channels. 2014-11-19 11:32:05 +01:00
ptrkrysik 7a7b9b0a3a Changed cell allocation elements type from float to int 2014-11-19 11:27:34 +01:00
ptrkrysik d85d460c62 Commenting files included for debugging. Fixed #2 issue. 2014-11-13 10:11:53 +01:00
ptrkrysik 6f6d46db01 Corrected frame number 2014-11-12 22:50:18 +01:00
ptrkrysik e518bbfedd Added capability to receive multiple channels of a single BTS to the receiver. It is now possible to receive bursts on channels for which frequency hopping was used. Changed examples to work without hierarhical GSM Receiver block. 2014-11-06 14:50:59 +01:00
ptrkrysik b108d6b7c7 Removed receiver_hier and wireshark_sink 2014-11-06 13:51:02 +01:00
ptrkrysik 6bb450daca Merge branch 'master' of github.com:Jakotako/gr-gsm 2014-10-30 09:05:30 +01:00
ptrkrysik 58213797c1 First step to add multichannel capability to the GSM receiver. At this moment it might still contain debuging code. The training sequence number for non C0 channels is embedded in the code. 2014-10-30 09:05:15 +01:00
ptrkrysik a25bb7030b Changed asser.h to output DCOUT messages to stderr 2014-10-30 09:01:13 +01:00
ptrkrysik 7f61c6440c Changes in control channels decoder to output messages in PDU format - when connected to Socket PDU the messages can be dissected with Wireshark now. The information in the header might be not complete/fully correct at this moment (no SNR, power measurements, channel type statically set to BCCH). 2014-10-30 08:57:27 +01:00
ptrkrysik af9431b0db Added extraction of gsmtap header and message content from pmt msg 2014-08-16 12:41:25 +02:00
ptrkrysik eaaf22fea0 Added message input to the wireshark sink 2014-08-16 11:51:49 +02:00
ptrkrysik 3c6dfcc16f Added empty sink for wireshark sink 2014-08-16 11:44:27 +02: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 K 66bb3cdc31 Changed directory structure.
Corrected clock_offset_corrector (for some streange and yet unknown reason fractional resampler eats strem tags for some values of sps).
(this commit may contain some changes that are not described)
2014-08-13 19:04:57 +02:00
Piotr K 608a08e0a5 Removed completely old method of frequency offset correction 2014-08-07 17:01:55 +02:00
piotr fdef676393 Added workaround old implementation of rotateN that is still present in ubuntu 14.04 packages 2014-08-06 15:37:01 +02:00
piotr 2f897f51cf Removed unnecessary #include 2014-08-06 15:20:58 +02:00
piotr d6d6687691 Removed redundant state from the receiver 2014-08-06 15:20:33 +02:00
piotr ab663c8844 Added new block for message printing, removed legacy code from the decoder and bursts printer 2014-08-06 14:14:15 +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 b529a59a91 Added output in the control channel decoder 2014-08-04 11:30:43 +02:00
piotr f2b6a1ba4d Added reset to the receiver, computation of power and function for setting arfcn of the receiver 2014-08-04 11:28:59 +02:00
piotr df30459028 Added option to the simple mapper 2014-08-04 11:22:47 +02:00
piotr c00ce9c7b5 Moved burst printer to different directory 2014-08-04 11:21:24 +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
piotr 501c51e51a Moved more files related to the gsm receiver to the receiver directory. 2014-07-08 23:24:07 +02:00
piotr 7f3f3666b8 Little changes commited from all files. Cleanup in the lib directory - files moved associated with different blocks moved to associated directories. 2014-07-08 16:47:53 +02:00
piotr 7af92cadd5 Correction in plotting.h 2014-07-08 16:38:42 +02:00
piotr f0039b4927 Changed soft symbols according to "Soft-Decision MLSE Data Receiver for GSM System" Martin Lee, Zoran Zvonar paper
The difference is that I don't multiply by SNR because it isn't measured yet.
2014-05-05 16:45:48 +02:00
piotr ebd06238ac Changed the viterbi equalizer output from hard to soft. The output values are branch metrics.
TODO: Check in the literature if this is correct choice of souft output values.
2014-05-02 17:28:21 +02:00
piotr c7c249a483 Changed gr-gsm::receiver block into typical typical sink inherited from sync_block.
Removed forecast(...) function and replaced it with call to set_output_multiple in the constructor.
2014-05-02 17:24:08 +02:00
piotr d73f0bb850 Removed get_ccch_bursts block 2014-04-24 11:58:52 +02:00
piotr da8a066687 Little cleanups 2014-04-24 10:29:38 +02:00
piotr f502e0f99b Replaced nasty hack for training sequences 6 and 7 with a condition depending on the first symbol of training sequences. It's still a little bit of a hack because I don't know why exactly those starting points have to be used. 2014-04-24 10:28:29 +02:00
piotr ce92f9825f Corrections to the configuration function 2014-04-17 23:37:18 +02:00
piotr 5462401fdf Added missing line changing state when too many SCH errors occur 2014-04-17 23:36:27 +02:00
piotr 10cd1f4aab Corrected bcch get block so it writes all bursts forming bcch channel to the output 2014-04-17 23:34:39 +02:00
piotr db6c221174 Corrections to BCCH filter so it works (the name CCCH filter isn't correct) 2014-04-17 16:09:51 +02:00
piotr 883d5084be Merge branch 'master' of github.com:Jakotako/gr-gsm 2014-04-17 16:06:24 +02:00
piotr 903b1d69bb Moved configuration of the receiver to the constructor. Removed redundant configuration. 2014-04-17 11:33:27 +02:00
piotr d77c9cf983 Added block filtering bursts containing full CCH messages 2014-04-17 11:09:30 +02:00
piotr 3f1ea81182 Addition of linking with libraries required to compile programs using include/plotting.hpp 2014-04-17 10:56:08 +02:00
piotr 3440db650d Added GSMTAP header definition 2014-04-17 10:52:28 +02:00
piotr 8dc74a4f0b Removed done/unneeded TODOs 2014-04-17 09:48:46 +02:00
piotr c1d47df7ba Added author 2014-04-17 09:45:50 +02:00
piotr 5c82025c0a Correction - limited strongest_window_nr to avoid reading outside of buffer boundaries. 2014-04-17 09:43:02 +02:00
piotr 6629251062 corrected .gitignore 2014-03-03 18:23:34 +01:00
piotr 6d152d9f21 added arfcn parameter to the receiver 2014-02-21 00:02:44 +01:00
piotr 6c692872b6 Added simple bursts printer 2014-02-08 14:16:26 +01:00
piotr 7c82b1730f Improved synchronization, added message output with bursts 2014-02-08 14:15:27 +01:00
piotr 7e3b0dbfc8 Changed differentiation between dummy and normal bursts to a metod based on correlation of training sequences 2014-02-05 22:44:30 +01:00
piotr 5f1e1d38f8 turned off automatic tuning to estimated frequency offset with positive result for stability of the receiver 2014-02-05 18:10:05 +01:00
piotr d0bf1499bb Coding style change, debug pritfs 2014-02-05 17:27:32 +01:00
piotr 437f5467a1 Initial commit - gsm-receiver with removed quick hacks 2014-02-04 17:57:25 +01:00