Change in osmo-ttcn3-hacks[master]: CBSP: tr_CBSP_REPLACE_CBS_COMPL: num_compl_list is optional
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27966 ) Change subject: CBSP: tr_CBSP_REPLACE_CBS_COMPL: num_compl_list is optional ...................................................................... CBSP: tr_CBSP_REPLACE_CBS_COMPL: num_compl_list is optional The list might be empty because either there were no broadcasts completed in case of a CBS message, or because it was an emergency message where this IE is never used. Change-Id: I2b24ac7e5857bdd50a821399b3c383cea9d408ad --- M library/CBSP_Templates.ttcn 1 file changed, 10 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/library/CBSP_Templates.ttcn b/library/CBSP_Templates.ttcn index f86241e..17d933a 100644 --- a/library/CBSP_Templates.ttcn +++ b/library/CBSP_Templates.ttcn @@ -408,9 +408,17 @@ var template CBSP_IEs ies := { tr_CbspMsgId(msg_id), tr_NewSerNo(new_ser_nr), - tr_OldSerNo(old_ser_nr), - tr_CbspNumComplList(compl_list) + tr_OldSerNo(old_ser_nr) }; + if (istemplatekind(compl_list, "*")) { + testcase.stop("TITAN > 6.5.0 doesn't support this"); + //ies[lengthof(ies)] := tr_CbspNumComplList ifpresent; + } else if (istemplatekind(compl_list, "?")) { + ies[lengthof(ies)] := tr_CbspNumComplList(?); + } else if (not istemplatekind(compl_list, "omit")) { + ies[lengthof(ies)] := tr_CbspNumComplList(compl_list); + } + if (istemplatekind(cell_list, "*")) { testcase.stop("TITAN > 6.5.0 doesn't support this"); //ies[lengthof(ies)] := tr_CbspCellList ifpresent; -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27966 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I2b24ac7e5857bdd50a821399b3c383cea9d408ad Gerrit-Change-Number: 27966 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge@osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged
participants (1)
-
laforge