<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26656">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">IuUP_Emulation: Fix frame number wrap-around<br><br>As seen when running a test:<br>IuUP_Emulation.ttcn:150 Dynamic test case error: While RAW-encoding type '@IuUP_Types.IuUP_PDU': There are insufficient bits to encode '@IuUP_Types.IuUP_PDU_Type_0.frame_nr'<br><br>Change-Id: Ic9e69115c49545a7b9797d8f85568d5e91dfb329<br>---<br>M library/IuUP_Emulation.ttcn<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/56/26656/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/IuUP_Emulation.ttcn b/library/IuUP_Emulation.ttcn</span><br><span>index 56384ee..b35602c 100644</span><br><span>--- a/library/IuUP_Emulation.ttcn</span><br><span>+++ b/library/IuUP_Emulation.ttcn</span><br><span>@@ -143,7 +143,7 @@</span><br><span>                      } else {</span><br><span>                             pdu := valueof(ts_IuUP_Type1(st.tx_next_frame_nr, 0, payload));</span><br><span>                      }</span><br><span style="color: hsl(0, 100%, 40%);">-                       st.tx_next_frame_nr := st.tx_next_frame_nr + 1;</span><br><span style="color: hsl(120, 100%, 40%);">+                       st.tx_next_frame_nr := (st.tx_next_frame_nr + 1) mod 16;</span><br><span>             }</span><br><span>    }</span><br><span>    if (isvalue(pdu)) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26656">change 26656</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/c/osmo-ttcn3-hacks/+/26656"/><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-Change-Id: Ic9e69115c49545a7b9797d8f85568d5e91dfb329 </div>
<div style="display:none"> Gerrit-Change-Number: 26656 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>