<p>Piotr Krysik <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/10909">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Piotr Krysik: Looks good to me, approved; Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">grgsm_channelize: Add ichar data type<br><br>This is the output format of rtl_sdr and hackrf_transfer and this would<br>allow direct channelization without an additional post processing.<br><br>Change-Id: Ia489eca9ec7defc3a83946c42f1ae3f136efe4e8<br>---<br>M apps/helpers/grgsm_channelize<br>1 file changed, 5 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/helpers/grgsm_channelize b/apps/helpers/grgsm_channelize</span><br><span>index 9b00bd7..5eaeb3b 100755</span><br><span>--- a/apps/helpers/grgsm_channelize</span><br><span>+++ b/apps/helpers/grgsm_channelize</span><br><span>@@ -79,6 +79,10 @@</span><br><span>             self.blocks_file_source = blocks.file_source(gr.sizeof_short, input_file, False)</span><br><span>             self.source = blocks.interleaved_short_to_complex(False, False)</span><br><span>             self.connect((self.blocks_file_source, 0), (self.source, 0))</span><br><span style="color: hsl(120, 100%, 40%);">+        elif data_type == "ichar":</span><br><span style="color: hsl(120, 100%, 40%);">+            self.blocks_file_source = blocks.file_source(gr.sizeof_char, input_file, False)</span><br><span style="color: hsl(120, 100%, 40%);">+            self.source = blocks.interleaved_char_to_complex(False)</span><br><span style="color: hsl(120, 100%, 40%);">+            self.connect((self.blocks_file_source, 0), (self.source, 0))</span><br><span>         elif data_type == "complex":</span><br><span>             self.source = blocks.file_source(gr.sizeof_gr_complex, input_file, False)</span><br><span> </span><br><span>@@ -114,7 +118,7 @@</span><br><span>         help="Sample rate of the output capture files [default=%(default)s]")</span><br><span>     parser.add_argument("-i", "--input_file", dest="input_file", type=str, required=True,</span><br><span>         help="Path to wideband GSM capture file")</span><br><span style="color: hsl(0, 100%, 40%);">-    parser.add_argument("-t", "--data_type", dest="data_type", type=str, choices=["complex","ishort"], default="complex",</span><br><span style="color: hsl(120, 100%, 40%);">+    parser.add_argument("-t", "--data_type", dest="data_type", type=str, choices=["complex","ishort","ichar"], default="complex",</span><br><span>         help="Type of the input file [default=%(default)s]")</span><br><span>     parser.add_argument("-d", "--dest_dir", dest="dest_dir", type=str, </span><br><span>         help="Destination directory - if not given defaults to input file name without extension")</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10909">change 10909</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10909"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: gr-gsm </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Ia489eca9ec7defc3a83946c42f1ae3f136efe4e8 </div>
<div style="display:none"> Gerrit-Change-Number: 10909 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Vasil Velichkov <vvvelichkov@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Piotr Krysik <ptrkrysik@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Vasil Velichkov <vvvelichkov@gmail.com> </div>