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
/**
* @author ETSI / STF422_EETS
* @version $URL:$
* $Id:$
* @desc Types and constants definitions for Fast Networking & Transport layer Protocol (ISO 29281-2)
*/
module LibItsFntp_TypesAndValues {
// LibCommon
import from LibCommon_BasicTypesAndValues {
type UInt16
};
// LibIts
import from CALMllsap language "ASN.1:1997" {
type
INsapPrimitivesUp
};
import from CALMfntp language "ASN.1:1997" {
type
FNTPNPDU,
NFsapPrimitivesDown, NFsapPrimitivesUp, FNTPintForwarding,
PortNumber
};
/**
* @desc FNTP port values
* @see ISO/CD 29281-2 Table 1 — FNTP endpoints identified by port numbers
*/
group fntpPortsValues {
/**
* @desc Groupcast manager, i.e. Service Advertisement Message (SAM) endpoint
*/
const UInt16 c_portSam := 0;
/**
* @desc dynamic port
*/
const UInt16 c_portDyn := 128; // FIXME Not sure for this value !?
/**
* @desc Low limit of reserved range
*/
const UInt16 c_portReservedLow := 32717;
/**
* @desc High limit of reserved range
*/
const UInt16 c_portReservedHigh := 32763;
/**
* @desc Inter ITS-SCU communications specified in ISO 24102-4
*/
const UInt16 c_portIic := 32764;
/**
* @desc Shall be used to identify an ITS-SCU with functionality of an ITS-S router. These values shall be used only in the FNTP forwarding header
*/
const UInt16 c_portRtr := 32765;
/**
* @desc Shall be used to identify an ITS-SCU with functionality of an ITS-S host. These values shall be used only in the FNTP forwarding header
*/
const UInt16 c_portHst := 32766;
/**
* @desc Unknown or 'don't care' port
*/
const UInt16 c_portNon := 32767;
} // End of group fntpPortsValues
group utPrimitives {
/**
* @desc Trigger to initialize the IUT.
*/
type record UtFntpInitialize {
}
/**
* @desc Events at the application layer of the IUT.
*/
type union UtFntpEvent { // FIXME To be removed
anytype noField
}
/**
* @desc Send a XXX.req command to the IUT through a SAP.
*/
type union UtFntpCommandRequest {
NFsapPrimitivesDown nfSapPrimitives
}
/**
* @desc Receive a XXX.conf command from the IUT through a SAP.
*/
type union UtFntpCommandConfirm {
NFsapPrimitivesUp nfSapPrimitives
}
/**
* @desc Receive a XXX.ind command from the IUT through a SAP.
*/
type union UtFntpCommandIndication {
NFsapPrimitivesUp nfSapPrimitives
}
} // End of group utPrimitives
group acPrimitives {
/**
* @desc TA primitives for FNTP
* @member acGenerateFntpNPDU To generate a station-internal FNTP NDPU
* @member acGenerateSamMessagePDU To generate a SAM message
* @member acGenerateCtxMessagePDU To generate a CTX message
*/
type union AcFntpPrimitive {
AcGenerateFntpNPDU acGenerateFntpNPDU,
AcGenerateSamMessagePDU acGenerateSamMessagePDU,
AcGenerateCtxMessagePDU acGenerateCtxMessagePDU
}
/**
* @desc Primitive for receiveing response from TA
*/
type union AcFntpResponse { // FIXME To be removed
anytype noField
}
/**
* @desc Primitive for TA to generate a station-internal FNTP NDPU
* @member fntpNPDU Number of hops. This parameter shall be set to zero for single hop
*/
type record AcGenerateFntpNPDU {
INsapPrimitivesUp fntpNPDU
}
/**
* @desc Generate a SAM message
* @member samPDU The SAM pdu
*/
type record AcGenerateSamMessagePDU {
INsapPrimitivesUp samPDU
}
/**
* @desc Generate a CTX message
* @member ctxPDU The CTX pdu
*/
type record AcGenerateCtxMessagePDU {
INsapPrimitivesUp ctxPDU
}
} // End of group acPrimitives
}
with {
encode "LibItsFntp_TypesAndValues"
} //End of module LibItsFntp_TypesAndValues