1 /******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 ******************************************************************************/
9 // File: SGsAP_Types.ttcn
11 // Prodnr: CNL 113 684
12 // Updated: 2010-06-29
13 // Contact: http://ttcn.ericsson.se
14 // Reference: 3GPP TS 29.118 v9.0.0
19 import from General_Types all;
21 external function enc_PDU_SGsAP(in PDU_SGsAP pdu) return octetstring
22 with { extension "prototype(convert)" extension "encode(RAW)" }
24 external function dec_PDU_SGsAP(in octetstring stream) return PDU_SGsAP
25 with { extension "prototype(convert)" extension "decode(RAW)" }
28 type record IMSI_Value
33 BIT4 fillerDigit optional
35 variant (fillerDigit) "PRESENCE (parity = '0'B)";
44 variant "PRESENCE (iEI = '00000001'B)";
45 variant (lengthIndicator) "LENGTHTO (iMSI)"
56 variant "PRESENCE (iEI = '00001000'B)";
57 variant (lengthIndicator) "LENGTHTO (cause)"
60 type enumerated SGs_Cause
62 unspecified_value_14 (14)
63 } with { variant "FIELDLENGTH(8)"; }
73 variant "PRESENCE (iEI = '00000010'B)";
74 variant (lengthIndicator) "LENGTHTO (name)"
78 type record SGsAP_PAGING_REJECT
84 variant "PRESENCE (messageType = '00000010'B)";
88 type record SGsAP_PAGING_REQUEST
94 variant "PRESENCE (messageType = '00000001'B)";
100 SGsAP_PAGING_REJECT sGsAP_PAGING_REJECT,
101 SGsAP_PAGING_REQUEST sGsAP_PAGING_REQUEST
104 } with { encode "RAW"}