Switching to asn1c defns library
[ric-app/hw.git] / defs_hwe2sm / e2sm-HelloWorld-v001.asn
1 -- ASN1START
2 -- **************************************************************
3 -- E2SM-HelloWorld
4 -- Information Element Definitions
5 -- 
6 -- **************************************************************
7
8 E2SM-HelloWorld-IEs { }
9
10 DEFINITIONS AUTOMATIC TAGS ::= 
11
12 BEGIN
13
14 -- **************************************************************
15 --
16 -- Lists
17 --
18 -- **************************************************************
19
20 maxofRANParameters                                              INTEGER ::= 100
21
22 -- E2 Service model IEs
23
24 -- ---------------------------------------------------
25 -- Event Trigger Definition OCTET STRING contents
26 -- ---------------------------------------------------
27
28 -- E2SM-HelloWorld-EventTriggerDefinition IE
29 E2SM-HelloWorld-EventTriggerDefinition ::= CHOICE{
30         eventDefinition-Format1         E2SM-HelloWorld-EventTriggerDefinition-Format1,
31         ...
32 }
33
34 -- E2SM-HelloWorld-eventTriggerDefinition IE Format 1
35 E2SM-HelloWorld-EventTriggerDefinition-Format1 ::= SEQUENCE{
36         triggerNature                                           HW-TriggerNature,
37         ...
38 }
39
40 -- ---------------------------------------------------
41 -- Action Definition OCTET STRING contents
42 -- ---------------------------------------------------
43 E2SM-HelloWorld-ActionDefinition ::= CHOICE{
44         actionDefinition-Format1                E2SM-HelloWorld-ActionDefinition-Format1,
45         ...
46 }
47
48 -- E2SM-HelloWorld-actionDefinition IE used for Action Format 1
49 E2SM-HelloWorld-ActionDefinition-Format1 ::= SEQUENCE{
50         ranParameter-List                                       RANparameter-List,
51         ...
52 }
53
54 RANparameter-List ::= SEQUENCE (SIZE(1..maxofRANParameters)) OF RANparameter-Item
55
56 -- ---------------------------------------------------
57 -- Indication Header OCTET STRING contents
58 -- ---------------------------------------------------
59
60 E2SM-HelloWorld-IndicationHeader ::= CHOICE{
61         indicationHeader-Format1                E2SM-HelloWorld-IndicationHeader-Format1,
62         ...
63 }
64
65 -- E2SM-HelloWorld-indicationHeader Format 1
66 E2SM-HelloWorld-IndicationHeader-Format1 ::= SEQUENCE{
67         indicationHeaderParam                                           HW-Header,
68         ...
69 }
70
71 -- ---------------------------------------------------
72 -- Indication Message OCTET STRING contents
73 -- ---------------------------------------------------
74
75 -- E2SM-HelloWorld-indicationMessage IE
76 E2SM-HelloWorld-IndicationMessage ::= CHOICE{
77         indicationMessage-Format1               E2SM-HelloWorld-IndicationMessage-Format1,
78         ...
79 }
80
81 -- E2SM-HelloWorld-IndicationMessage Format 1
82 E2SM-HelloWorld-IndicationMessage-Format1 ::= SEQUENCE{
83         indicationMsgParam                      HW-Message,
84         ...
85 }
86
87
88 -- ---------------------------------------------------
89 -- Call Process ID
90 -- ---------------------------------------------------
91
92 -- Not defined in this E2SM
93
94 -- ---------------------------------------------------
95 -- Control Header OCTET STRING contents
96 -- ---------------------------------------------------
97
98 -- E2SM-HelloWorld-ControlHeader
99 E2SM-HelloWorld-ControlHeader ::= CHOICE{
100         controlHeader-Format1           E2SM-HelloWorld-ControlHeader-Format1,
101         ...
102 }
103
104 -- E2SM-HelloWorld-ControlHeader Format 1
105 E2SM-HelloWorld-ControlHeader-Format1 ::= SEQUENCE{
106         controlHeaderParam                      HW-Header,
107         ...
108 }
109
110
111 -- ---------------------------------------------------
112 -- Control Message OCTET STRING contents
113 -- ---------------------------------------------------
114
115 -- E2SM-HelloWorld-ControlMessage
116 E2SM-HelloWorld-ControlMessage ::= CHOICE{
117         controlMessage-Format1          E2SM-HelloWorld-ControlMessage-Format1,
118         ...
119 }
120
121 -- E2SM-HelloWorld-controlMessage Format 1
122 E2SM-HelloWorld-ControlMessage-Format1 ::= SEQUENCE{
123         controlMsgParam                         HW-Message,
124         ...
125 }
126
127 -- ---------------------------------------------------
128 -- commmon IEs
129 -- ---------------------------------------------------
130
131 -- A
132 -- B
133 -- C
134 -- D
135 -- E
136 -- F
137 -- G
138 -- H
139
140 HW-Header ::= INTEGER
141
142 HW-Message ::= OCTET STRING
143
144 HW-TriggerNature ::= ENUMERATED{
145         now,
146         onchange,
147         ...
148 }
149 -- I
150 -- J
151 -- K
152 -- L
153 -- M
154 -- N
155 -- O
156 -- P
157 -- Q
158 -- R
159
160
161 RANparameter-Item ::= SEQUENCE {
162         ranParameter-ID                 RANparameter-ID,
163         ranParameter-Name               RANparameter-Name,
164         ranParameter-Test               RANparameter-Test,
165         ranParameter-Value              RANparameter-Value,
166         ...
167 }
168
169
170 RANparameter-ID ::= INTEGER (0..maxofRANParameters)
171
172 RANparameter-Name ::= OCTET STRING
173
174 RANparameter-Test ::= ENUMERATED{
175         equal,
176         greaterthan,
177         lessthan,
178         contains,
179         present,
180         ...
181 }
182
183 RANparameter-Value ::= OCTET STRING
184
185 -- S
186 -- T
187 -- U
188 -- V
189 -- W
190 -- X
191 -- Y
192 -- Z
193
194 END
195 -- ASN1STOP
196
197
198
199
200