diff options
author | ptrkrysik <ptrkrysik@gmail.com> | 2014-12-15 09:09:18 +0100 |
---|---|---|
committer | ptrkrysik <ptrkrysik@gmail.com> | 2014-12-15 09:09:18 +0100 |
commit | 18b631eb71083bda1b50c131f52dcc5929d92f90 (patch) | |
tree | 6805946b84b9fb1b976ce1f6a3af0fdc3ccc6aca /grc/decryption | |
parent | 16c3d2691c9871a402511360fab720444f7b662f (diff) |
Added new decryption block (be careful - untested component). Changed CMakeFiles to reflect more modular design (not finished for the lib directory)
Diffstat (limited to 'grc/decryption')
-rw-r--r-- | grc/decryption/CMakeLists.txt | 22 | ||||
-rw-r--r-- | grc/decryption/gsm_decryption.xml | 23 |
2 files changed, 45 insertions, 0 deletions
diff --git a/grc/decryption/CMakeLists.txt b/grc/decryption/CMakeLists.txt new file mode 100644 index 0000000..29d86f4 --- /dev/null +++ b/grc/decryption/CMakeLists.txt @@ -0,0 +1,22 @@ +# Copyright 2011 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +install(FILES + gsm_decryption.xml DESTINATION share/gnuradio/grc/blocks +) diff --git a/grc/decryption/gsm_decryption.xml b/grc/decryption/gsm_decryption.xml new file mode 100644 index 0000000..28a2b93 --- /dev/null +++ b/grc/decryption/gsm_decryption.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<block> + <name>Decryption</name> + <key>gsm_decryption</key> + <import>import grgsm</import> + <make>grgsm.decryption($k_c)</make> + + <param> + <name>Kc session key</name> + <key>k_c</key> + <type>int_vector</type> + </param> + + <sink> + <name>bursts</name> + <type>message</type> + </sink> + <source> + <name>bursts</name> + <type>message</type> + </source> + +</block> |