diff --git a/sysinfo/GSM_Types.ttcn b/sysinfo/GSM_Types.ttcn index 924788cbd..71c74f73f 100644 --- a/sysinfo/GSM_Types.ttcn +++ b/sysinfo/GSM_Types.ttcn @@ -175,19 +175,27 @@ module GSM_Types { } with { variant "" }; type record MobileIdentityTMSI { - MobileIdentityType mi_type (MI_TYPE_TMSI), - boolean odd (false), BIT4 pad ('1111'B), + boolean odd (false), + MobileIdentityType mi_type (MI_TYPE_TMSI), GsmTmsi tmsi } with { variant "" }; + type record MobileIdentityNone { + BIT4 pad ('1111'B), + boolean odd (false), + MobileIdentityType mi_type (MI_TYPE_NONE) + } with { variant "" }; + type union MobileIdentity { MobileIdentityBCD bcd, - MobileIdentityTMSI tmsi + MobileIdentityTMSI tmsi, + MobileIdentityNone unused } with { variant "TAG(bcd, mi_type = MI_TYPE_IMSI; bcd, mi_type = MI_TYPE_IMEI; bcd, mi_type = MI_TYPE_IMEISV; - tmsi, mi_type = MI_TYPE_TMSI)" }; + tmsi, mi_type = MI_TYPE_TMSI; + unused, mi_type = MI_TYPE_NONE)" }; type record MobileIdentityLV { uint8_t len,