<p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23808">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23808/3/bsc/MSC_ConnectionHandler.ttcn">File bsc/MSC_ConnectionHandler.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/osmo-ttcn3-hacks/+/23808/3/bsc/MSC_ConnectionHandler.ttcn@789">Patch Set #3, Line 789:</a> <code style="font-family:monospace,monospace">PDU_ML3_NW_MS</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Makes more sense to use 'PDU_RRM_ChannelModeModify_NW_MS' here, because 'PDU_ML3_NW_MS' may technically contain any other RR message, and it's not really handy to access its fields by full path, e.g. 'rr_channel_mode_modify_msg.msgs.rrm.channelModeModify.channelMode.mode' in your code below.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23808/3/bsc/MSC_ConnectionHandler.ttcn@791">Patch Set #3, Line 791:</a> <code style="font-family:monospace,monospace">RSL_Message</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Same here, I would rather store 'RSL_IE_List' instead of the full message. But I see that f_rsl_find_ie() wants exactly an 'RSL_Message' as the argument, so this one can be kept as-is.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23808/3/bsc/MSC_ConnectionHandler.ttcn@1246">Patch Set #3, Line 1246:</a> <code style="font-family:monospace,monospace">             var RSL_IE_Body chan_mode_ie;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This is a very imperative/C-style approach. Given that the ordering of IE in RSL messages is fixed and defined by 3GPP, I think you could just match the 'RSL_IE_List' against a template. If something does not math, TITAN will reflect this in the logs (TTCN_MATCHING).</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23808">change 23808</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/+/23808"/><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: Idf4efaed986de0bbd2b663313e837352cc139f0f </div>
<div style="display:none"> Gerrit-Change-Number: 23808 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 30 Apr 2021 02:37:06 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>