aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
Diffstat (limited to 'grc')
-rw-r--r--grc/gsm_block_tree.xml1
-rw-r--r--grc/misc_utils/CMakeLists.txt1
-rwxr-xr-xgrc/misc_utils/gsm_collect_system_info.xml20
3 files changed, 22 insertions, 0 deletions
diff --git a/grc/gsm_block_tree.xml b/grc/gsm_block_tree.xml
index f9ff1ff..bb705c9 100644
--- a/grc/gsm_block_tree.xml
+++ b/grc/gsm_block_tree.xml
@@ -54,6 +54,7 @@
<block>gsm_bursts_printer</block>
<block>gsm_burst_file_sink</block>
<block>gsm_burst_file_source</block>
+ <block>gsm_collect_system_info</block>
<block>gsm_message_file_sink</block>
<block>gsm_message_file_source</block>
<block>gsm_extract_system_info</block>
diff --git a/grc/misc_utils/CMakeLists.txt b/grc/misc_utils/CMakeLists.txt
index 7bdf894..43c3960 100644
--- a/grc/misc_utils/CMakeLists.txt
+++ b/grc/misc_utils/CMakeLists.txt
@@ -20,6 +20,7 @@
install(FILES
gsm_extract_system_info.xml
gsm_extract_immediate_assignment.xml
+ gsm_collect_system_info.xml
gsm_controlled_rotator_cc.xml
gsm_message_printer.xml
gsm_bursts_printer.xml
diff --git a/grc/misc_utils/gsm_collect_system_info.xml b/grc/misc_utils/gsm_collect_system_info.xml
new file mode 100755
index 0000000..bad0396
--- /dev/null
+++ b/grc/misc_utils/gsm_collect_system_info.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<block>
+ <name>Collect System Info</name>
+ <key>gsm_collect_system_info</key>
+ <import>import grgsm</import>
+ <make>grgsm.collect_system_info()</make>
+ <sink>
+ <name>msgs</name>
+ <type>message</type>
+ </sink>
+ <doc>
+This blocks collect System Information Messages, which can be retrieved using the following methods:
+
+get_framenumbers(): Get the list with the framenumbers of the System Information Messages
+
+get_system_information_type(): Get the types of the System Information Messages
+
+get_data(): Get the whole System Information Messages in Hex representation
+ </doc>
+</block>