Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/9681
Change subject: library/SS_Templates.ttcn: add empty Return Result template ...................................................................... library/SS_Templates.ttcn: add empty Return Result template According to GSM TS 04.80, table 3.4, the Return Result component may be empty, i.e. may not contain any results nor operation code. It is used, for example, in responce to the network-originated USSD notification. Change-Id: Iaaff110c5f61cc87eda6143cd841f9832f6074bf --- M library/SS_Templates.ttcn 1 file changed, 21 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/81/9681/1 diff --git a/library/SS_Templates.ttcn b/library/SS_Templates.ttcn index 316b71b..1129108 100644 --- a/library/SS_Templates.ttcn +++ b/library/SS_Templates.ttcn @@ -169,6 +169,27 @@ } } +template (value) SS_FacilityInformation ts_SS_USSD_FACILITY_RETURN_RESULT_EMPTY( + integer invoke_id := 1 +) := { + { + returnResult := { + invokeId := { present_ := invoke_id }, + result := omit + } + } +} +template SS_FacilityInformation tr_SS_USSD_FACILITY_RETURN_RESULT_EMPTY( + template integer invoke_id := ? +) := { + { + returnResult := { + invokeId := { present_ := invoke_id }, + result := omit + } + } +} + /* Common for both structured and unstructured SS */ template (value) SS_FacilityInformation ts_SS_FACILITY_RETURN_ERROR( integer invoke_id := 1, -- To view, visit https://gerrit.osmocom.org/9681 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iaaff110c5f61cc87eda6143cd841f9832f6074bf Gerrit-Change-Number: 9681 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>