<p>pespin <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16400">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu: Handle PCUIF (DE)ACT.req messages<br><br>Change-Id: I4440a6b24fb76b4f8096706769250b91bd2444bb<br>---<br>M pcu/PCUIF_RAW_Components.ttcn<br>1 file changed, 12 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pcu/PCUIF_RAW_Components.ttcn b/pcu/PCUIF_RAW_Components.ttcn</span><br><span>index ab8b3b7..6d29404 100644</span><br><span>--- a/pcu/PCUIF_RAW_Components.ttcn</span><br><span>+++ b/pcu/PCUIF_RAW_Components.ttcn</span><br><span>@@ -339,7 +339,6 @@</span><br><span>        /* Wait until the PCU is connected */</span><br><span>        PCUIF.receive(tr_RAW_PCU_EV(PCU_EV_CONNECT));</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-       /* TODO: implement ACT.req handling */</span><br><span>       alt {</span><br><span>        /* Wait for TXT.ind (PCU_VERSION) and respond with INFO.ind (SI13) */</span><br><span>        [] PCUIF.receive(tr_PCUIF_TXT_IND(bts_nr, PCU_VERSION, ?)) -> value pcu_msg {</span><br><span>@@ -360,6 +359,18 @@</span><br><span>              vc_CLCK_GEN.start(f_ClckGen_CT_handler());</span><br><span>           repeat;</span><br><span>              }</span><br><span style="color: hsl(120, 100%, 40%);">+     /* PCU -> TS becomes active */</span><br><span style="color: hsl(120, 100%, 40%);">+     [] PCUIF.receive(tr_PCUIF_ACT_REQ(bts_nr, ?, ?)) -> value pcu_msg {</span><br><span style="color: hsl(120, 100%, 40%);">+                log("Rx ACT.req from the PCU: TRX" & int2str(pcu_msg.u.act_req.trx_nr) &</span><br><span style="color: hsl(120, 100%, 40%);">+                "/TS" & int2str(pcu_msg.u.act_req.ts_nr));</span><br><span style="color: hsl(120, 100%, 40%);">+          repeat;</span><br><span style="color: hsl(120, 100%, 40%);">+               }</span><br><span style="color: hsl(120, 100%, 40%);">+     /* PCU -> TS becomes inactive */</span><br><span style="color: hsl(120, 100%, 40%);">+   [] PCUIF.receive(tr_PCUIF_DEACT_REQ(bts_nr, ?, ?)) -> value pcu_msg {</span><br><span style="color: hsl(120, 100%, 40%);">+              log("Rx DEACT.req from the PCU: TRX" & int2str(pcu_msg.u.act_req.trx_nr) &</span><br><span style="color: hsl(120, 100%, 40%);">+              "/TS" & int2str(pcu_msg.u.act_req.ts_nr));</span><br><span style="color: hsl(120, 100%, 40%);">+          repeat;</span><br><span style="color: hsl(120, 100%, 40%);">+               }</span><br><span>    /* PCU -> test case forwarding (filter by the BTS number) */</span><br><span>      [] PCUIF.receive(tr_PCUIF_MSG(?, bts_nr)) -> value pcu_msg {</span><br><span>              TC.send(pcu_msg);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16400">change 16400</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/+/16400"/><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: I4440a6b24fb76b4f8096706769250b91bd2444bb </div>
<div style="display:none"> Gerrit-Change-Number: 16400 </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-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>