aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/Param2.asn1
blob: 09ccb367d828bc2834b21b2b8f7e3ca40b537037 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Param2 DEFINITIONS AUTOMATIC TAGS ::=
BEGIN

  S1AP-PROTOCOL-IES ::= CLASS {
	&id				INTEGER UNIQUE,
	&Value
  }
  WITH SYNTAX {
	ID				&id
	TYPE				&Value
  }

  ProtocolIE-Field {S1AP-PROTOCOL-IES : IEsSetParam} ::= SEQUENCE {
	id		S1AP-PROTOCOL-IES.&id ({IEsSetParam}),
	value		S1AP-PROTOCOL-IES.&Value ({IEsSetParam}{@id})
  }

  ProtocolIE-Container {S1AP-PROTOCOL-IES : IEsSetParam} ::=
         SEQUENCE (SIZE (0..10)) OF ProtocolIE-Field {{IEsSetParam}}

  HandoverRequired ::= SEQUENCE {
	protocolIEs ProtocolIE-Container { { HandoverRequiredIEs } },
	...
  }

  HandoverRequiredIEs S1AP-PROTOCOL-IES ::= {
    { ID 1 TYPE OCTET STRING } |
    { ID 2 TYPE INTEGER },
--Delete-start
    ...,
    { ID 100 TYPE INTEGER (0..1023) } |
    { ID 101 TYPE ENUMERATED {true,false} }
--Delete-end
  }

  SingleRoot ::= SEQUENCE {
	protocolIEs ProtocolIE-Container { { SingleRootIEs } },
	...
  }

  -- The extension was lost when there was a single root item.
  SingleRootIEs S1AP-PROTOCOL-IES ::= {
    { ID 1 TYPE OCTET STRING },
    ...,
    { ID 2 TYPE INTEGER }
  }

END