<p><a href="https://gerrit.osmocom.org/9368">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9368/1/library/USSD_Templates.ttcn">File library/USSD_Templates.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/9368/1/library/USSD_Templates.ttcn@41">Patch Set #1, Line 41:</a> <code style="font-family:monospace,monospace">      octetstring ussd_dcs := '0F'O, // GSM 7-bit default alphabet</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I recommend adding either "const" definitions for this, or add an enumerated and then use enum2int() here.  Same for op_code as well as for ussd_dcs.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/9368/1/library/USSD_Templates.ttcn@60">Patch Set #1, Line 60:</a> <code style="font-family:monospace,monospace">template SS_FacilityInformation ts_ML3_FACILITY_USSD_RETURN_ERROR(</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">is this a general FACILITY_RETURN_ERORR template that can also be used for structured SS?  Then the naming might be different.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/9368/1/library/USSD_Templates.ttcn@62">Patch Set #1, Line 62:</a> <code style="font-family:monospace,monospace"> integer errcode := 71 // Unknown alphabet</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">same here for the error code.  It's sad that the ASN1 compiler apparently doesn't generate enums for that, so you have to repeat those :/</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/9368/1/library/USSD_Templates.ttcn@67">Patch Set #1, Line 67:</a> <code style="font-family:monospace,monospace">                        errcode := { local := 71 },</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">i think you want "local := errcode" here?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/9368">change 9368</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/9368"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ibc3e8f70230d656b2f0994ea0c63e6554b6165de </div>
<div style="display:none"> Gerrit-Change-Number: 9368 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 29 May 2018 19:40:08 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>