Attention is currently required from: pespin.
dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34269 )
Change subject: NAS_Templates: add template for EPS update type ......................................................................
Patch Set 1:
(1 comment)
File library/NAS_Templates.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34269/comment/8f91c35b_16369... PS1, Line 320: const BIT3 c_EPS_UPD_TYPE_TA_UPD := '000'B;
this should be an enum afaiu.
One could define the enum like so:
type enumerated typeOfUpdate_t { c_EPS_UPD_TYPE_TA_UPD ('000'B), c_EPS_UPD_TYPE_COMB_TA_LA_UPD ('001'B), c_EPS_UPD_TYPE_COMB_TA_LA_UPD_IMSI_ATTACH ('010'B), c_EPS_UPD_TYPE_TA_UPD_PERIODIC ('011'B) };
But I can get this to work. When I use the type, then the compiler complains that the type is not a bitstring (!?), when I am stick using BIT3 it says there is no local or imported definition of..
Also in this file there are also other constants that are defined in the same way I did, so I am not sure if using two different ways to define/organize constants is a good idea anyway.