<p>Vasil Velichkov <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/10881">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">burst_file_source: Fix reading longer bursts<br><br>- Read bursts with pmt::deserialize directly from the std::filebuf<br>- Remove the unused unserialized variable<br>- Add tests<br><br>Since df978693 when the rx_time tags are present in the incomming stream<br>the gsm receiver adds fm_time to the burst's PMT and the bursts that<br>burst file sink writes becomes longer because of the additional field.<br><br>The burst file source block was expecting all burst to be 147 bytes long<br>and reading files with longer bursts was failing with an unhandled exception.<br><br>terminate called after throwing an instance of 'pmt::exception'<br>thread[thread-per-block[5]: <block dummy_burst_filter (2)>]: pmt_cdr: wrong_type : #f<br>  what():  pmt::deserialize: malformed input stream, tag value = : 115<br><br>Change-Id: I989b0d6a6b214088b7880e5cbf7bb6725492dbfc<br>---<br>M lib/misc_utils/burst_file_source_impl.cc<br>M lib/qa_utils/burst_source_impl.cc<br>M python/CMakeLists.txt<br>A python/qa_burst_file_source.py<br>4 files changed, 109 insertions(+), 13 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/gr-gsm refs/changes/81/10881/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/10881">change 10881</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/10881"/><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: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I989b0d6a6b214088b7880e5cbf7bb6725492dbfc </div>
<div style="display:none"> Gerrit-Change-Number: 10881 </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>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <axilirator@gmail.com> </div>