<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">We do pass a port reference in BSC_Tests.ttcn, check f_logp() or f_vty_msc_allow_attach().</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">thanks! I'll try it out</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Passing port references a s function parameters works.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I think the potential difficulty will arise when passing a port reference through a procedure port into another component (e.g. to register it).  I am almost convinced that won't work.  If I remmber correctly, only the component references can be passed, as those are really just some kind of "process id" :/</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24401">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24401">change 24401</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/+/24401"/><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: Iafd9310e04066958914201da0cbdcd563bd5c976 </div>
<div style="display:none"> Gerrit-Change-Number: 24401 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 31 May 2021 19:06:46 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>