<p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15430">View Change</a></p><p>6 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15430/8//COMMIT_MSG">Commit Message:</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/15430/8//COMMIT_MSG@42">Patch Set #8, Line 42:</a> <code style="font-family:monospace,monospace">  +-----+               +----------+      +---------+</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">May make sense moving this to the tests .ttcn file to have it always available easily.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">ACK, I will add this diagram to PCUIF_RAW_Components.ttcn.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15430/8/pcu/PCUIF_RAW_Components.ttcn">File pcu/PCUIF_RAW_Components.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/15430/8/pcu/PCUIF_RAW_Components.ttcn@33">Patch Set #8, Line 33:</a> <code style="font-family:monospace,monospace">Genetic</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">"Generic"? ;)</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">:D</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/15430/8/pcu/PCUIF_RAW_Components.ttcn@85">Patch Set #8, Line 85:</a> <code style="font-family:monospace,monospace">       // port RAW_PCU_MSG_PT CCCH;  /* SAPI: PCU_IF_SAPI_{BCCH,PCH,RACH,AGCH} */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">These commented out ports look like leftovers. Are they still userful? […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yep, maybe some day one would find this idea useful. While trying to implement it, I realized that we're getting more complication than benefits :/</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/15430/8/pcu/PCUIF_RAW_Components.ttcn@136">Patch Set #8, Line 136:</a> <code style="font-family:monospace,monospace">                if (pcu_msg.bts_nr != bts_nr) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Why can't we always set the correct bts nr in the test case sending the pcu_msg?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">It may be useful for multi-BTS tests to send a single message to a single MTC:BTS port, so every BTS component will resend it to the PCU as its own (with proper bts_nr). But then we're loosing a possibility to send a message to particular BTS component, so I'll better remove this.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/15430/8/pcu/PCUIF_RAW_Components.ttcn@182">Patch Set #8, Line 182:</a> <code style="font-family:monospace,monospace">         MTC.send(RAW_PCU_EVENT:PCU_EV_CONNECT);</code></p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">but not both at the same time?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Why not? One may still want to receive this (or any other) event in the MTC (test case). I don't see any problem with sending to both MTC and all connected BTS components.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15430/8/pcu/PCU_Tests_RAW.ttcn">File pcu/PCU_Tests_RAW.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/15430/8/pcu/PCU_Tests_RAW.ttcn@472">Patch Set #8, Line 472:</a> <code style="font-family:monospace,monospace">    connect(vc_PCUIF:MTC, self:PCUIF);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Are you sure you need to connect A->B and B->A two times?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Right, this is redundant. To be removed in the next patch set.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15430">change 15430</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/+/15430"/><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: I63a23abebab88fd5318eb4d907d6028e7c38e9a3 </div>
<div style="display:none"> Gerrit-Change-Number: 15430 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 19 Sep 2019 11:23:10 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>