<p><a href="https://gerrit.osmocom.org/14078">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14078/1/library/RTP_Emulation.ttcn">File library/RTP_Emulation.ttcn:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14078/1/library/RTP_Emulation.ttcn@473">Patch Set #1, Line 473:</a> <code style="font-family:monospace,monospace">             [g_tx_connected] T_transmit.timeout {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I am not sure if the condition should be here or simply:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">""""<br>if (g_tx_connected) {<br>f_tx_rtp(g_cfg.tx_fixed_payload);<br>g_stats_rtp.num_pkts_tx := g_stats_rtp.num_pkts_tx+1;<br>                        g_stats_rtp.bytes_payload_tx := g_stats_rtp.bytes_payload_tx +                                                  lengthof(g_cfg.tx_fixed_payload);<br>}</pre><p style="white-space: pre-wrap; word-wrap: break-word;">T_transmit.start;<br>""""</p><p style="white-space: pre-wrap; word-wrap: break-word;">What happens if timer timeout triggers and g_tx_connected is false? is the timeout event delayed until g_tx_connected is true? or is it discarded? In that case the g_tx_connected check should be checked with "if" block as shown above, otherwise T_transmit won't be re-enabled and Tx will stop forever (or until next RTPEM_mode message) and that's not desirable.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/14078">change 14078</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/14078"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I20e7aed35bb28200e30ee5efc718f77e036d8262 </div>
<div style="display:none"> Gerrit-Change-Number: 14078 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 17 May 2019 17:05:36 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>