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
/**
* @author ETSI / STF422_EETS
* @version $URL:$
* $Id:$
* @desc FAST networking & transport layer protocol (ISO 29281-2) Pixits
*/
module LibItsFntp_Pixits {
// LibCommon
import from LibCommon_DataStrings {
type Bit6, Bit7
};
// LibIts
import from CITSapplMgmtApplReg language "ASN.1:1997" {
type ITSaid
};
import from CALMmanagement language "ASN.1:1997" {
type
ITS_scuId, StationID
};
import from CALMllsap language "ASN.1:1997" {
type
EUI64,
UserPriority, Link_ID
};
import from CALMfntp language "ASN.1:1997" {
type
PortNumber, ITSfpdu, FNTPhopCount,
RXcip, TXcip
};
import from CALMlegacySupport language "ASN.1:1997" {
type FNTPlpp
};
/**
* @desc Service reference value used bu NF-FNTP-PORT.request SAP primitive
*/
/**
* @desc Defines a number uniquely identifying the endpoint at this host in an implementation specific way
* @see ISO 29281-2 - Clause 8.2.1 Link Identifier
*/
modulepar integer PX_SERVICE_REF := 0;
/**
* @desc Defines the value to set to fill field for NFsapPrimitivesUp primitive
* @see ISO 29281-2 - Clause 8.2.1 Link Identifier
*/
modulepar Bit6 PX_NF_SAP_UP_FILL_FIELD_VALUE := '000000'B;
/**
* @desc Defines the value to set to fill field for NFsapPrimitivesDown primitive
* @see ISO 29281-2 - Clause 8.2.1 Link Identifier
*/
modulepar Bit7 PX_NF_SAP_DOWN_FILL_FIELD_VALUE := '0000000'B;
/**
* For instance, a DENM messages associated to a Slow vehicle in ASN.1 PER encoding
*/
modulepar ITSfpdu PX_ITS_FPDU := '00010134fb9f45cb400001246000dfe0269f7405c100003e002d80000000000000000013880000007ffd00a0000000400000000013880085a80000001000000000000000ff000800000134fb9f45cb'O;
/**
* @desc The user priority as specified in ISO 21218
*/
modulepar UserPriority PX_USER_PRIORITY := 0;
/**
modulepar ITS_scuId PX_HOST_SCU_ID := 8;
modulepar ITS_scuId PX_UNKNOWN_HOST_SCU_ID := 65534;
* @desc 64 bits MAC addresses for local CIs/VCIs for ITS_S router (e.g.G5 CI/VCI)
* @desc Identifies the CI on ITS-S router
* @see ISO 21218 - Clause 6.2 Link Identifier
*/
modulepar EUI64 PX_WL_LOCAL_CIID := '030008FFFF010000'O;
* @desc Identifies the VCI for broadcast on ITS-S router
modulepar EUI64 PX_WL_REMOTE_CIID_BC := '030008FFFF01FFFF'O;
* @desc Identifies the VCI for multicast on ITS-S router
modulepar EUI64 PX_WL_REMOTE_CIID_MC := '030008FFFF010001'O;
* @desc Identifies the VCI for unicast on ITS-S router (peer station)
modulepar EUI64 PX_WL_REMOTE_CIID_UC := '030008FFFF010001'O;
* @desc Identifies an unknown CI on ITS-S router
modulepar EUI64 PX_WL_LOCAL_CIID_UNKNOWN := '030008FFFF000000'O;
} // End of group routerWlanVcisMac
/**
* @desc 64 bits MAC addresses for lan CIs/VCIs to connect to the ITS station-internal network
*/
group routerLanVcisMac {
* @desc Identifies the CI on ITS-S host
* @see ISO 21218 - Clause 6.2 Link Identifier
modulepar EUI64 PX_LAN_LOCAL_CIID := '03000AFFFF010000'O;
* @desc Identifies the VCI for broadcast on ITS-S host
*/
modulepar EUI64 PX_LAN_REMOTE_CIID_BC := '03000AFFFF01FFFF'O;
/**
* @desc Identifies the VCI for unicast on ITS-S host
*/
modulepar EUI64 PX_LAN_REMOTE_CIID_UC := '03000AFFFF010001'O;
/**
* @desc Identifies a different VCI on ITS-S router
* @see ISO 21218 - Clause 6.2 Link Identifier
modulepar EUI64 PX_LAN_DIFFERENT_LOCAL_CIID := '03000AFFFF020001'O;
* @desc 64 bits MAC addresses for the peer ITS-S station
/**
* @desc Identifies uniquely a specific CI in a specific "ITS-S Communication Unit"
* @see ISO 21218 - Clause 6.2 Link Identifier
*/
modulepar EUI64 PX_DEST_LOCAL_CIID := '030009FFFF010000'O;
* @desc Identifies uniquely a specific CI in a specific "ITS-S Communication Unit" for broadcast
modulepar EUI64 PX_DEST_REMOTE_CIID_BC := '030009FFFF01FFFF'O;
* @desc Identifies uniquely a specific CI in a specific "ITS-S Communication Unit" for multicast
modulepar EUI64 PX_DEST_REMOTE_CIID_MC := '030009FFFF010001'O;
* @desc Identifies uniquely a specific CI in a specific "ITS-S Communication Unit" for unicast (peer to peer)
modulepar EUI64 PX_DEST_REMOTE_CIID_UC := '030009FFFF010001'O;
/**
* @desc Identifies a second VCI for unicast (peer to peer) on ITS-S host
*/
modulepar EUI64 PX_SECOND_REMOTE_CIID_BC := '0000000000000000'O;
/**
* @desc Contains the Link Identifier parameters for broadcast, Multicast and unicast modes
* @see ISO 21218 Clause 6.2
* Notes:
* <li>vciID Identifies the MAC address of the Communication Interface identified by the CIID</li>
* <li>CIID Identifies the Communication Interface of the ITS-SCU. 0 indicates unknown or not existent</li>
* <li>scuID Identifies the ITS-SCU in the ITS station</li>
*/
group linkIDs {
group cf01 {
/**
* @desc Identify the VCI to be used to transmit the packet outside (e.g. G5), i.e. the peer station, for Broadcast
*/
modulepar Link_ID PX_WL_LINK_ID_BC := {
remoteCIID := PX_WL_REMOTE_CIID_BC,
localCIID := PX_WL_LOCAL_CIID
}
} // End of group cf01
group cf02 {
/**
* @desc Identify the VCI to be used to transmit the packet to the LAN, for Broadcast
*/
modulepar Link_ID PX_LAN_LINK_ID_BC := {
remoteCIID := PX_LAN_REMOTE_CIID_BC,
localCIID := PX_LAN_LOCAL_CIID
}
} // End of group cf02
* @desc Identify an unknown VCI to be used to transmit the packet, i.e. the peer station, for Broadcast
*/
modulepar Link_ID PX_LINK_ID_UNKWNON_BC := {
remoteCIID := PX_WL_REMOTE_CIID_BC,
localCIID := PX_WL_LOCAL_CIID_UNKNOWN
}
/**
* @desc Identify an unknown VCI to be used to transmit the packet, i.e. the peer station, for Unicast
modulepar Link_ID PX_WL_LINK_ID_UNKWNON_UC := {
remoteCIID := PX_WL_REMOTE_CIID_BC,
localCIID := PX_WL_LOCAL_CIID_UNKNOWN
}
/**
* @desc Identify the VCI to be used to transmit the packet, i.e. the peer station, for Unicast
*/
modulepar Link_ID PX_WL_LINK_ID_UC := {
remoteCIID := PX_WL_REMOTE_CIID_UC,
localCIID := PX_WL_LOCAL_CIID
}
} // End of group linkIDs
/**
* @desc Source and destination Ports
* @see ISO/WD 29281-2 Clause 6.2.2.2
*/
group portNumbers {
/**
* @desc Indicate the application port number, used instead of c_portDyn
*/
modulepar PortNumber PX_APP_PORT_NUMBER := { portLong := 12345 } ;
/**
* @desc Indicate the source port number, i.e. the local endpoint
*/
modulepar PortNumber PX_LOCAL_PORT_NUMBER := { portLong := 5555 } ;
/**
* @desc Indicate the destination port number, i.e. the peer ITS-SP
*/
modulepar PortNumber PX_REMOTE_PORT_NUMBER := { portLong := 5556 } ;
/**
* @desc Indicate a second destination port number
*/
modulepar PortNumber PX_SECOND_REMOTE_PORT_NUMBER := { portLong := 5556 } ;
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
/**
* @desc Indicate an unknown destination port number
*/
modulepar PortNumber PX_UNKNOWN_REMOTE_PORT_NUMBER := { portLong := 666 } ;
/**
* @desc Indicate the forwarding source port number, i.e. the originator endpoint
* @see ISO/CD 29281-2 Clause 8.3.1
*/
modulepar PortNumber PX_FORWARDING_SRC_PORT := { portLong := 5550 } ;
/**
* @desc Indicate the forwarding destination port number, i.e. the destinator endpoint
* @see ISO/CD 29281-2 Clause 8.3.1
*/
modulepar PortNumber PX_FORWARDING_DST_PORT := { portLong := 5551 } ;
/**
* @desc Indicate the forwarding destination port number, i.e. the destinator endpoint
* @see ISO/CD 29281-2 Clause 8.3.1
*/
modulepar PortNumber PX_SERVICE_PORT := { portLong := 32700 } ;
} // End of group portNumbers
group hopsConstants {
/**
* Single hop value
* @see ISO/CD 29281-2 Clause 8.3.1 NF-FNTP-COMM.request
*/
modulepar FNTPhopCount PX_SHOP := 0;
/**
* N hops value
* @see ISO/CD 29281-2 Clause 8.3.1 NF-FNTP-COMM.request
*/
modulepar FNTPhopCount PX_NHOPS := 5;
} // End of group hopsConstants
group cipConstants {
/**
* Access parameters settigs for reception
* @see ISO/CD 29281-2 Clause 7.10.1 Purpose of CIPs
*/
modulepar RXcip PX_CIP_RX_SETTINGS := 'CAFEDECA'O;
/**
* Access parameters settigs for transmission
* @see ISO/CD 29281-2 Clause 7.10.1 Purpose of CIPs
*/
modulepar TXcip PX_CIP_TX_SETTINGS := 'C0CAC01A'O;
} // End of group cipConstants
/**
* Wait until the IUT is in a stable situation (beaconing...)
*/
modulepar float PX_WAIT_FOR_IUT_READY := 1.0;
} // End of module LibItsFntp_Pixits