<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21150">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">library/GSM_RR_Types: make ts_MEAS_REP more user-friendly<br><br>Change-Id: Ica1ea41ebba5c518d515a211e77ca6651c4173d6<br>---<br>M bts/BTS_Tests.ttcn<br>M library/GSM_RR_Types.ttcn<br>2 files changed, 7 insertions(+), 4 deletions(-)<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/50/21150/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn</span><br><span>index 4be8d2b..cf468cf 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -1812,7 +1812,7 @@</span><br><span>  var L1ctlDlMessage l1_dl;</span><br><span>    [] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl {</span><br><span>            log("SACCH received: ", l1_dl.payload.data_ind.payload);</span><br><span style="color: hsl(0, 100%, 40%);">-              var GsmRrL3Message meas_rep := valueof(ts_MEAS_REP(true, mp_rxlev_exp, mp_rxlev_exp, 0, 0, omit));</span><br><span style="color: hsl(120, 100%, 40%);">+            var GsmRrL3Message meas_rep := valueof(ts_MEAS_REP(true, mp_rxlev_exp, mp_rxlev_exp));</span><br><span>               var LapdmFrameAB lb := valueof(ts_LAPDm_AB(0, false, false, enc_GsmRrL3Message(meas_rep)));</span><br><span>          log("LAPDm: ", lb);</span><br><span> </span><br><span>diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn</span><br><span>index b4aff10..8cb824d 100644</span><br><span>--- a/library/GSM_RR_Types.ttcn</span><br><span>+++ b/library/GSM_RR_Types.ttcn</span><br><span>@@ -1099,9 +1099,12 @@</span><br><span>          }</span><br><span>    };</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-  template (value) GsmRrL3Message ts_MEAS_REP(boolean valid, uint6_t rxl_f, uint6_t rxl_s,</span><br><span style="color: hsl(0, 100%, 40%);">-                                                  uint3_t rxq_f, uint3_t rxq_s,</span><br><span style="color: hsl(0, 100%, 40%);">-                                           template (omit) NcellReports reps) := {</span><br><span style="color: hsl(120, 100%, 40%);">+     template (value) GsmRrL3Message ts_MEAS_REP(boolean valid,</span><br><span style="color: hsl(120, 100%, 40%);">+                                                template (value) uint6_t rxl_f,</span><br><span style="color: hsl(120, 100%, 40%);">+                                               template (value) uint6_t rxl_s,</span><br><span style="color: hsl(120, 100%, 40%);">+                                               template (value) uint3_t rxq_f := 0,</span><br><span style="color: hsl(120, 100%, 40%);">+                                                  template (value) uint3_t rxq_s := 0,</span><br><span style="color: hsl(120, 100%, 40%);">+                                                  template (omit) NcellReports reps := omit) := {</span><br><span>          header := t_RrL3Header(MEASUREMENT_REPORT),</span><br><span>          payload := {</span><br><span>                         meas_rep := {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21150">change 21150</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/+/21150"/><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: Ica1ea41ebba5c518d515a211e77ca6651c4173d6 </div>
<div style="display:none"> Gerrit-Change-Number: 21150 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>