Migrate grc blocks from xml to yaml
Convert the blocks using cmdline_converter.py script from
https://gist.githubusercontent.com/haakov/4228ff6a14486641add538483093e86b/raw/c861a840e31182ace2e74f5425e356cb4f8b183a/cmdline_converter.py
Change-Id: Iee5c611a2e100bd2fdf487611a867dc937d8c292
diff --git a/grc/misc_utils/gsm_bursts_printer.block.yml b/grc/misc_utils/gsm_bursts_printer.block.yml
new file mode 100644
index 0000000..0f99789
--- /dev/null
+++ b/grc/misc_utils/gsm_bursts_printer.block.yml
@@ -0,0 +1,57 @@
+# auto-generated by grc.converter
+
+id: gsm_bursts_printer
+label: Bursts Printer
+
+parameters:
+- id: prepend_string
+ label: Prepend String
+ dtype: string
+ hide: part
+- id: prepend_fnr
+ label: Prepend Frame Number
+ dtype: bool
+ default: 'False'
+ options: ['False', 'True']
+- id: prepend_frame_count
+ label: Prepend Frame Count
+ dtype: bool
+ default: 'False'
+ options: ['False', 'True']
+- id: print_payload_only
+ label: Print payload only
+ dtype: bool
+ default: 'False'
+ options: ['False', 'True']
+- id: ignore_dummy_bursts
+ label: Ignore dummy bursts
+ dtype: bool
+ default: 'False'
+ options: ['False', 'True']
+
+inputs:
+- domain: message
+ id: bursts
+
+templates:
+ imports: |-
+ import grgsm
+ import pmt
+ make: |-
+ grgsm.bursts_printer(pmt.intern(${prepend_string}), ${prepend_fnr},
+ ${prepend_frame_count}, ${print_payload_only}, ${ignore_dummy_bursts})
+
+documentation: |-
+ This block prints bursts to output. By default the whole burst including tail bits, stealing bits and training sequence is printed.
+
+ If "Prepend Frame Number" is enabled, then the framenumber is prepended to each burst.
+
+ If "Prepend Frame Count" is enabled, then the frame count for A5 is prependend to each burst.
+
+ If "Print payload only" is enabled, then only the two data blocks of a burst are printed, tail bits, stealing bits and training sequence are omitted.
+
+ If "Ignore dummy bursts" is enabled, then the burst printer will not print dummy bursts (see GSM 05.02)
+
+ Enabling first three options (or all four options) results in an output that is similar to the output of airprobe, i.e. the format is "frame_nr frame_count: databits"
+
+file_format: 1