diff options
author | Roman Khassraf <roman@khassraf.at> | 2017-01-11 12:50:38 +0100 |
---|---|---|
committer | Roman Khassraf <roman@khassraf.at> | 2017-01-11 13:33:12 +0100 |
commit | 98581a8e921bb6c884d39c7b224b33ab5420d4b6 (patch) | |
tree | 2704bb9574fef44b9f218a058d236112ac55db70 /grc | |
parent | fcf7e347be0bb746eef82609f0c2612934fb6f97 (diff) |
Implemented system info collection block
Diffstat (limited to 'grc')
-rw-r--r-- | grc/gsm_block_tree.xml | 1 | ||||
-rw-r--r-- | grc/misc_utils/CMakeLists.txt | 1 | ||||
-rwxr-xr-x | grc/misc_utils/gsm_collect_system_info.xml | 20 |
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> |