From 8c5b3254834af454c8881f132271ddfd79f578d4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 15 Jul 2017 23:59:49 +0200 Subject: GSM_SystemInformation: Add support for "OTHER" SIs This way we can process SIs for which we don't have a more detailed parser code and simply store their L3 as octetstring. --- sysinfo/GSM_SystemInformation.ttcn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysinfo') diff --git a/sysinfo/GSM_SystemInformation.ttcn b/sysinfo/GSM_SystemInformation.ttcn index 1bfc7a48..86cba2a7 100644 --- a/sysinfo/GSM_SystemInformation.ttcn +++ b/sysinfo/GSM_SystemInformation.ttcn @@ -232,7 +232,8 @@ module GSM_SystemInformation { SystemInformationType5 si5, SystemInformationType5bis si5bis, SystemInformationType5ter si5ter, - SystemInformationType6 si6 + SystemInformationType6 si6, + octetstring other } with { variant "" }; type record SystemInformation { @@ -248,6 +249,7 @@ module GSM_SystemInformation { si5bis, header.message_type = SYSTEM_INFORMATION_TYPE_5bis; si5ter, header.message_type = SYSTEM_INFORMATION_TYPE_5ter; si6, header.message_type = SYSTEM_INFORMATION_TYPE_6; + other, OTHERWISE; )" }; external function enc_SystemInformation(in SystemInformation si) return octetstring -- cgit v1.2.3