Newer
Older
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
/**
* @author ETSI / STF422_EETS
* @version $URL:$
* $Id:$
* @desc Templates definitions for Fast service advertisement protocol (ISO 24102-5)
*/
module LibItsFsap_Templates {
// LibIts
import from CALMmanagement language "ASN.1:1997" {
type
ITS_scuId, StationID
};
import from CITSapplMgmtApplReg language "ASN.1:1997" {
type
ITSaid
};
import from CALMllsap language "ASN.1:1997" {
type
IN_SAPaddress, Link_ID,
UserPriority
};
import from CALMfsap language "ASN.1:1997" {
type
ApplicationID,
CTX, CTXrxNot, GCctxTxCmd, GCregServer, GCregClient, GCderegClient, GCschedule,
ServiceDataReg,
SAM, SAMrxNot
};
import from LibItsCommon_TypesAndValues all;
group fsapPrimitives {
group utPrimitives {
/**
* @desc Initializes the FSAP IUT
*/
template (value) UtInitialize m_fsapInitialize := {
utFsapInitialize := {
}
} // End of template m_fsapInitialize
// /**
// * @desc Initializes the FSAP IUT
// */
// template UtFsapCommandRequest mw_fsapNfCommandRequest := {
//
// } // End of template m_fsapInitialize
} // End of group utPrimitives
group taPrimitives {
/***
* @desc TODO
* @param p_serverID TODO
*/
template (value) SAM m_sam(
in template (value) StationID p_serverID
) := {
fmtID := 0, // FIXME Use PIXIT PX_FMTID_SAM
version := 0, // FIXME Use PIXIT PX_VERSIONFSAP
serverID := p_serverID,
serviceList := { },
channelList := { },
ipServList := { }
} // End of template m_sam
/***
* @desc TODO
* @param p_clientID TODO
*/
template (value) CTX m_ctx(
in template (value) StationID p_clientID
) := {
fmtID := 0, // FIXME Use PIXIT PX_FMTID_CTX
version := 0, // FIXME Use PIXIT PX_VERSIONFSAP
clientID := p_clientID,
servContextList := { },
ipContextList := { }
} // End of template m_ctx
} // End of group taPrimitives
group cregServerMessagePDU {
template (value) GCregServer m_gCregServer(
in template (value) ApplicationID p_applicationID,
in template (value) GCschedule p_gCschedule,
in template (value) UserPriority p_priority,
in template (value) ServiceDataReg p_serviceDataReg
) := {
applicationID := p_applicationID,
gCschedule := p_gCschedule,
priority := p_priority,
serviceDataReg := p_serviceDataReg
} // End of template m_gCregServer
template GCregServer mw_gCregServer_any := {
applicationID := {
hostITS_scuId := ?,
seqNumber := ?
}, // End of field applicationID''
gCschedule := ?,
priority := ?,
serviceDataReg := {
fill := ?,
datareg := {
nonipData := ?
} // End of field 'datareg'
} // End of field 'serviceDataReg'
} // End of template mw_gCregServer
} // End of group cregServerMessagePDU
group cregClientMessagePDU {
/**
* @desc ITS-S application shall register its supported service at the groupcasting manager using the services of the groupcasting registration handler
* @param p_hostITS_scuId The ITS-SCU-ID of the ITS-S host where the service provider ITS-S application resides together with an ITS-S application reference number being unique at this ITS-SCU
* @param p_serviceID The globally unique ITS-AID of the ITS-S application
*
* See ISO/CD 24102-5 Clause 8.5
*/
template (value) GCregClient m_gCregClient(
in template (value) ITS_scuId p_hostITS_scuId,
in template (value) ITSaid p_serviceID
) := {
applicationID := {
hostITS_scuId := p_hostITS_scuId,
seqNumber := 0
}, // End of 'applicationID' field
priority := 0,
serviceID := p_serviceID,
contextData := ''O
} // End of template m_gCregClient
/**
* @desc Confirmation of the ITS-S application shall deregistration
* @param p_hostITS_scuId The ITS-SCU-ID of the ITS-S host where the service provider ITS-S application resides together with an ITS-S application reference number being unique at this ITS-SCU
* @param p_serviceID The globally unique ITS-AID of the ITS-S application
*
* See ISO/CD 29281-2 Clause 8.1
* See ISO/CD 24102-5 Clause 8.3.1
*/
template GCregClient mw_gCregClient(
in template (present) ITS_scuId p_hostITS_scuId,
in template (present) ITSaid p_serviceID
) := {
applicationID := {
hostITS_scuId := p_hostITS_scuId,
seqNumber := ?
}, // End of 'applicationID' field
priority := ?,
serviceID := p_serviceID,
contextData := ?
} // End of template mw_gCregClient
} // End of group cregMessagePDU
group cderegClientMessagePDU {
/**
* @desc ITS-S application shall deregister its supported service at the groupcasting manager using the services of the groupcasting registration handler
* @param p_hostITS_scuId The ITS-SCU-ID of the ITS-S host where the service provider ITS-S application resides together with an ITS-S application reference number being unique at this ITS-SCU
*
* See ISO/CD 24102-5 Clause 8.3.3
*/
template (value) GCderegClient m_gCderegClient(
in template (value) ITS_scuId p_hostITS_scuId
) := {
applicationID := {
hostITS_scuId := p_hostITS_scuId,
seqNumber := 0
}
} // End of template m_gCderegClient
/**
* @desc Confirmation of the ITS-S application shall deregistration
* @param p_hostITS_scuId The ITS-SCU-ID of the ITS-S host where the service provider ITS-S application resides together with an ITS-S application reference number being unique at this ITS-SCU
*
* See ISO/CD 29281-2 Clause 8.1
* See ISO/CD 24102-5 Clause 8.3.3
*/
template GCderegClient mw_gCderegClient(
in template (present) ITS_scuId p_hostITS_scuId
) := {
applicationID := {
hostITS_scuId := p_hostITS_scuId,
seqNumber := ?
}
} // End of template mw_gCderegClient
} // End of group cderegClientMessagePDU
group samMessagePDU {
template (value) SAMrxNot m_sAMrxNot(
in template (value) IN_SAPaddress p_csap,
in template (value) Link_ID p_linkID,
in template (value) StationID p_serverID
) := {
link := {
csap := p_csap,
linkID := p_linkID
},
sam := {
fmtID := 0, // FIXME Use PIXIT PX_FMTID_CTX
version := 0, // FIXME Use PIXIT PX_VERSIONFSAP
serverID := p_serverID,
serviceList := { },
channelList := { },
ipServList := { }
}
} // End of template m_sAMrxNot
template SAMrxNot mw_sAMrxNot(
in template (present) IN_SAPaddress p_csap,
in template (present) Link_ID p_linkID,
in template (present) StationID p_serverID
) := {
link := {
csap := p_csap,
linkID := p_linkID
},
sam := {
fmtID := 0, // FIXME Use PIXIT PX_FMTID_CTX
version := 0, // FIXME Use PIXIT PX_VERSIONFSAP
serverID := p_serverID,
serviceList := ?,
channelList := ?,
ipServList := ?
}
} // End of template m_sAMrxNot
} // End of group samMessagePDU
group ctxMessagePDU {
/**
* @desc Send "Service Table Context" (STC) to FAST networking protocol for the purpose of unicast delivery to the selected peer station
* @param p_csap Source address - see ISO 21218 Clause 5.4.2.1 & 5.4.2.2
* @param p_linkID Destination link ID - see ISO 21218 Clause 5.4.2.2
* @param p_clientID Station ID of the client ITS station
*
* See ISO/CD 24102-5 Clause 7.2.3
*/
template (value) GCctxTxCmd m_gCctxTxCmd(
in template (value) IN_SAPaddress p_csap,
in template (value) Link_ID p_linkID,
in template (value) StationID p_clientID
) := {
link := {
csap := p_csap,
linkID := p_linkID
},
ctx := {
fmtID := 0, // FIXME Use PIXIT PX_FMTID_CTX
version := 0, // FIXME Use PIXIT PX_VERSIONFSAP
clientID := p_clientID,
servContextList := { },
ipContextList := { }
}
} // End of template m_gCctxTxCmd
/**
* @desc TODO
* @param p_csap TODO
* @param p_linkID TODO
* @param p_clientID TODO
*/
template (value) CTXrxNot m_cTXrxNot(
in template (value) IN_SAPaddress p_csap,
in template (value) Link_ID p_linkID,
in template (value) StationID p_clientID
) := {
link := {
csap := p_csap,
linkID := p_linkID
},
ctx := {
fmtID := 0, // FIXME Use PIXIT PX_FMTID_CTX
version := 0, // FIXME Use PIXIT PX_VERSIONFSAP
clientID := p_clientID,
servContextList := { },
ipContextList := { }
}
} // End of template m_cTXrxNot
/**
* @desc Confirmation of Service context message transmission
* @param p_csap Source address - see ISO 21218 Clause 5.4.2.1 & 5.4.2.2
* @param p_linkID Destination link ID - see ISO 21218 Clause 5.4.2.2
* @param p_clientID Station ID of the client ITS station
*
* See ISO/CD 24102-5 Clause 7.2.3
*/
template GCctxTxCmd mw_gCctxTxCmd(
in template (present) IN_SAPaddress p_csap,
in template (present) Link_ID p_linkID,
in template (present) StationID p_clientID
) := {
link := {
csap := p_csap,
linkID := p_linkID
},
ctx := {
fmtID := 0, // FIXME Use PIXIT PX_FMTID_CTX
version := 0, // FIXME Use PIXIT PX_VERSIONFSAP
clientID := p_clientID,
servContextList := ?,
ipContextList := ?
}
} // End of template mw_gCctxTxCmd
} // End of group ctxMessagePDU
} // End of group fsapPrimitives
} // End of module LibItsFsap_Templates