Commit 118e09db authored by Yann Garcia's avatar Yann Garcia
Browse files

Realign ASN.1 files for Security

parent 0967f8d5
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "loggers.hh" #include "loggers.hh"
#include "registration.hh" #include "registration.hh"
#include "pki_layer.hh" //#include "pki_layer.hh"
//============================================================================= //=============================================================================
namespace LibItsPki__TestSystem { namespace LibItsPki__TestSystem {
......
...@@ -2,29 +2,29 @@ ...@@ -2,29 +2,29 @@
#include "loggers.hh" #include "loggers.hh"
int etsi_ts102941_data_codec::encode (const EtsiTs102941MessagesCa::EtsiTs102941Data& p_etsi_ts_10291_data, OCTETSTRING& p_data) int etsi_ts102941_data_codec::encode (const EtsiTs102941MessagesCa::EtsiTs102941Data& p_etsi_ts_102941_data, OCTETSTRING& p_data)
{ {
loggers::get_instance().log(">>> etsi_ts102941_data_codec::encode: %s", p_etsi_ts_10291_data.get_descriptor()->name); loggers::get_instance().log(">>> etsi_ts102941_data_codec::encode: %s", p_etsi_ts_102941_data.get_descriptor()->name);
BITSTRING b; BITSTRING b;
TTCN_EncDec::clear_error(); TTCN_EncDec::clear_error();
TTCN_Buffer buffer; TTCN_Buffer buffer;
p_etsi_ts_10291_data.encode(*p_etsi_ts_10291_data.get_descriptor(), buffer, TTCN_EncDec::CT_OER); p_etsi_ts_102941_data.encode(*p_etsi_ts_102941_data.get_descriptor(), buffer, TTCN_EncDec::CT_OER);
p_data = OCTETSTRING(buffer.get_len(), buffer.get_data()); p_data = OCTETSTRING(buffer.get_len(), buffer.get_data());
loggers::get_instance().log_msg("etsi_ts102941_data_codec::encode: ", p_data); loggers::get_instance().log_msg("etsi_ts102941_data_codec::encode: ", p_data);
return 0; return 0;
} }
int etsi_ts102941_data_codec::decode (const OCTETSTRING& p_data, EtsiTs102941MessagesCa::EtsiTs102941Data& p_etsi_ts_10291_data, params* p_params) int etsi_ts102941_data_codec::decode (const OCTETSTRING& p_data, EtsiTs102941MessagesCa::EtsiTs102941Data& p_etsi_ts_102941_data, params* p_params)
{ {
loggers::get_instance().log_msg(">>> etsi_ts102941_data_codec::decode: ", p_data); loggers::get_instance().log_msg(">>> etsi_ts102941_data_codec::decode: ", p_data);
TTCN_EncDec::clear_error(); TTCN_EncDec::clear_error();
TTCN_Buffer decoding_buffer(p_data); TTCN_Buffer decoding_buffer(p_data);
// _params = params; // _params = params;
p_etsi_ts_10291_data.decode(*p_etsi_ts_10291_data.get_descriptor(), decoding_buffer, TTCN_EncDec::CT_OER); p_etsi_ts_102941_data.decode(*p_etsi_ts_102941_data.get_descriptor(), decoding_buffer, TTCN_EncDec::CT_OER);
loggers::get_instance().log_msg("<<< etsi_ts102941_data_codec::decode: ", (const Base_Type&)p_etsi_ts_10291_data); loggers::get_instance().log_msg("<<< etsi_ts102941_data_codec::decode: ", (const Base_Type&)p_etsi_ts_102941_data);
return 0; return 0;
} }
[MODULE_PARAMETERS] [MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules. # This section shall contain the values of all parameters that are defined in your TTCN-3 modules.
LibItsGeoNetworking_Pics.PICS_GN_LOCAL_GN_ADDR := {
typeOfAddress := e_initial,
stationType := e_passengerCar,
stationCountryCode := 33,
mid := '001C6B00FF51'O
}
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpA # IUT Station ID
LibItsCommon_Pixits.PX_IUT_STATION_ID := 2533729309
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpB
[LOGGING] [LOGGING]
# In this section you can specify the name of the log file and the classes of events # In this section you can specify the name of the log file and the classes of events
...@@ -90,14 +87,14 @@ LogEventTypes:= Yes ...@@ -90,14 +87,14 @@ LogEventTypes:= Yes
# time_offset : Time offset, used to skip packets with time offset < time_offset # time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise # save_mode : 1 to save sent packet, 0 otherwise
system.ivimPort.params := "IVIM/BTP(type=btpB,dst_port=2001,src_port=0)/GN(ll_address=0800275c4959,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,its_aid=141)/ETH(mac_src=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=eth2,filter=and ether proto 0x8947)" system.ivimPort.params := "IVIM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=0,sec_db_path=/home/yann/tmp/asn1c_cert)/ETH(mac_src=dc536045af7e)/PCAP(mac_src=dc536045af7e,nic=wlp2s0,filter=and ether proto 0x8947)"
# IVIM UpperTester port based on UDP (ETSI Wlan) # IVIM UpperTester port based on UDP (ETSI Wlan)
system.utPort.params := "UT_IVIM/UDP(dst_ip=192.168.1.252)" system.utPort.params := "UT_IVIM(debug=1)/UDP(src_port=12345,reuse_incoming_source_adddress=1)"
[EXECUTE] [EXECUTE]
#ItsIvim_TestCases.TC_IS_IVI_MSGF_BV_01 ItsIvim_TestCases.TC_IS_IVI_MSGF_BV_01
ItsIvim_TestCases.TC_IS_IVI_EVGN_BV_01 #ItsIvim_TestCases.TC_IS_IVI_EVGN_BV_01
[MAIN_CONTROLLER] [MAIN_CONTROLLER]
# The options herein control the behavior of MC. # The options herein control the behavior of MC.
......
...@@ -16,9 +16,9 @@ LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/x-its-request" ...@@ -16,9 +16,9 @@ LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/x-its-request"
LibItsHttp_Pics.PICS_HEADER_CTL_CONTENT_TYPE := "application/x-its-crl" LibItsHttp_Pics.PICS_HEADER_CTL_CONTENT_TYPE := "application/x-its-crl"
LibItsPki_Pics.PICS_MULTIPLE_END_POINT := true LibItsPki_Pics.PICS_MULTIPLE_END_POINT := true
LibItsPki_Pics.PICS_HEADER_HOST_EC := "ea.utopia.plugtests2019.innovation.keynectis.net" LibItsPki_Pics.PICS_HEADER_HOST_EC := "0.atos-ea.l0.c-its-pki.eu"
LibItsPki_Pics.PICS_HEADER_HOST_ATV := "ea.utopia.plugtests2019.innovation.keynectis.net" LibItsPki_Pics.PICS_HEADER_HOST_ATV := "0.atos-ea.l0.c-its-pki.eu"
LibItsPki_Pics.PICS_HEADER_HOST_AT := "aa.utopia.plugtests2019.innovation.keynectis.net" LibItsPki_Pics.PICS_HEADER_HOST_AT := "0.atos-aa.l0.c-its-pki.eu"
LibItsPki_Pics.PICS_HEADER_HOST_CA := "0.atos-dc.l0.c-its-pki.eu" LibItsPki_Pics.PICS_HEADER_HOST_CA := "0.atos-dc.l0.c-its-pki.eu"
LibItsPki_Pics.PICS_HEADER_HOST_TLM := "0.atos-dc.l0.c-its-pki.eu" LibItsPki_Pics.PICS_HEADER_HOST_TLM := "0.atos-dc.l0.c-its-pki.eu"
...@@ -27,7 +27,7 @@ LibItsPki_Pics.PICS_HTTP_POST_URI_AT := "/" ...@@ -27,7 +27,7 @@ LibItsPki_Pics.PICS_HTTP_POST_URI_AT := "/"
LibItsPki_Pics.PICS_HTTP_POST_URI_ATV := "/" LibItsPki_Pics.PICS_HTTP_POST_URI_ATV := "/"
LibItsPki_Pics.PICS_HTTP_GET_URI_CTL := "/103600/3-1/getctl/347A3B143C94C298" LibItsPki_Pics.PICS_HTTP_GET_URI_CTL := "/103600/3-1/getctl/347A3B143C94C298"
LibItsPki_Pics.PICS_HTTP_GET_URI_CRL := "/103600/3-1/getcrl/347A3B143C94C298" LibItsPki_Pics.PICS_HTTP_GET_URI_CRL := "/103600/3-1/getcrl/347A3B143C94C298"
LibItsPki_Pics.PICS_HTTP_GET_URI_ECTL := "/103600/3-1/getctl/347A3B143C94C298" LibItsPki_Pics.PICS_HTTP_GET_URI_ECTL := "/103600/1-1/getctl/0DA3EE9ACF7F9F14"
LibItsPki_Pics.PICS_ITS_S_SIGN_NITSP256_PRIVATE_KEY := '5C25F97607DFC62972A147FAD8B7A7C939569F0F95ECD4C641724A68B51836E5'O LibItsPki_Pics.PICS_ITS_S_SIGN_NITSP256_PRIVATE_KEY := '5C25F97607DFC62972A147FAD8B7A7C939569F0F95ECD4C641724A68B51836E5'O
LibItsPki_Pics.PICS_ITS_S_SIGN_NISTP256_PUBLIC_KEY := '020144E5174B0AFDA86BDB8B643B68D40030F5BDB9A9F090C64852CC3C20C9D5AD'O LibItsPki_Pics.PICS_ITS_S_SIGN_NISTP256_PUBLIC_KEY := '020144E5174B0AFDA86BDB8B643B68D40030F5BDB9A9F090C64852CC3C20C9D5AD'O
...@@ -70,23 +70,23 @@ LogEventTypes:= Yes ...@@ -70,23 +70,23 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS] [TESTPORT_PARAMETERS]
# Multiple HTTP component ports # Multiple HTTP component ports
system.httpEcPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(server=ea.utopia.plugtests2019.innovation.keynectis.net)" system.httpEcPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(server=90.84.246.190)"
system.httpAtVPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(server=ea.utopia.plugtests2019.innovation.keynectis.net)" system.httpAtVPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(server=90.84.246.190)"
#system.httpAtVPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(debug=1,server_mode=1,server=192.168.1.41,local_port=80)" # Multiple HTTP component ports specific to TC_SECPKI_AA_AUTHVAL_xx #system.httpAtVPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(debug=1,server_mode=1,server=192.168.1.41,local_port=80)" # Multiple HTTP component ports specific to TC_SECPKI_AA_AUTHVAL_xx
system.httpAtPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(server=aa.utopia.plugtests2019.innovation.keynectis.net)" system.httpAtPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(server=90.84.246.190)"
system.httpCaPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(debug=1,server=90.84.246.190,use_ssl=1)" system.httpCaPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(debug=1,server=90.84.246.190,use_ssl=1)"
system.httpTlmPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(debug=1,server=90.84.246.190,use_ssl=1)" system.httpTlmPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(debug=1,server=90.84.246.190,use_ssl=1)"
[EXECUTE] [EXECUTE]
# The EnrolmentResponse message shall be sent by the EA to the ITS-S across the interface at reference point S3 in response to a received EnrolmentRequest message # The EnrolmentResponse message shall be sent by the EA to the ITS-S across the interface at reference point S3 in response to a received EnrolmentRequest message
#ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_01_BV ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_01_BV
# Check that EA doesn't accept Enrolment rekeying request when enrolment is not permitted by signing certificate (not containing an item of type PsidSsp) # Check that EA doesn't accept Enrolment rekeying request when enrolment is not permitted by signing certificate (not containing an item of type PsidSsp)
#ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_02_BI_01 ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_02_BI_01
# Check that EA doesn't accept Enrolment rekeying request when enrolment is not permitted by signing certificate (containing opaque[0] (version) indicating other value than 1) # Check that EA doesn't accept Enrolment rekeying request when enrolment is not permitted by signing certificate (containing opaque[0] (version) indicating other value than 1)
#ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_02_BI_02 ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_02_BI_02
# Check that EA doesn't accept Enrolment rekeying request when enrolment is not permitted by signing certificate (containing opaque[1] (value) indicating "Enrolment Request" (bit 1) set to 0) # Check that EA doesn't accept Enrolment rekeying request when enrolment is not permitted by signing certificate (containing opaque[1] (value) indicating "Enrolment Request" (bit 1) set to 0)
#ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_02_BI_03 ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_02_BI_03
# Enroll an ITS-Station, but with a canonical-ID, that is not registered. # Enroll an ITS-Station, but with a canonical-ID, that is not registered.
#ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_05_BI #ItsPki_TestCases.TC_SECPKI_EA_ENR_RCV_05_BI
...@@ -187,12 +187,12 @@ system.httpTlmPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec) ...@@ -187,12 +187,12 @@ system.httpTlmPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)
#ItsPki_TestCases.TC_SECPKI_AA_AUTHVAL_01_BV #ItsPki_TestCases.TC_SECPKI_AA_AUTHVAL_01_BV
# Check that the RootCA generates the Full CTL when new EA is about to be added to the Root CTL # Check that the RootCA generates the Full CTL when new EA is about to be added to the Root CTL
#ItsPki_TestCases.TC_RCA_CTLGEN_01_BV ItsPki_TestCases.TC_RCA_CTLGEN_01_BV
# Check that the RootCA generates the CRL signed with appropriate certificate. # Check that the RootCA generates the CRL signed with appropriate certificate.
ItsPki_TestCases.TC_RCA_CRLGEN_01_BV ItsPki_TestCases.TC_RCA_CRLGEN_01_BV
# Check that the TLM generates the ECTL when new RootCA is about to be added # Check that the TLM generates the ECTL when new RootCA is about to be added
#ItsPki_TestCases.TC_TLM_ECTLGEN_01_BV ItsPki_TestCases.TC_TLM_ECTLGEN_01_BV
[MAIN_CONTROLLER] [MAIN_CONTROLLER]
# The options herein control the behavior of MC. # The options herein control the behavior of MC.
......
...@@ -318,6 +318,16 @@ then ...@@ -318,6 +318,16 @@ then
cp ${PATH_PATCHES}/run_mtc.bash ${PATH_DEV_ITS}/src/AtsDENM/bin cp ${PATH_PATCHES}/run_mtc.bash ${PATH_DEV_ITS}/src/AtsDENM/bin
cp ${PATH_PATCHES}/run_ptcs.bash ${PATH_DEV_ITS}/src/AtsDENM/bin cp ${PATH_PATCHES}/run_ptcs.bash ${PATH_DEV_ITS}/src/AtsDENM/bin
cp ${PATH_PATCHES}/run_all.bash ${PATH_DEV_ITS}/src/AtsDENM/bin cp ${PATH_PATCHES}/run_all.bash ${PATH_DEV_ITS}/src/AtsDENM/bin
# Update IVIM
cp ${PATH_PATCHES}/ivim_generate_makefile.bash ${PATH_DEV_ITS}/src/AtsIVIM/bin
cp ${PATH_PATCHES}/run_mtc.bash ${PATH_DEV_ITS}/src/AtsIVIM/bin
cp ${PATH_PATCHES}/run_ptcs.bash ${PATH_DEV_ITS}/src/AtsIVIM/bin
cp ${PATH_PATCHES}/run_all.bash ${PATH_DEV_ITS}/src/AtsIVIM/bin
# Update MAPEM/SPATEM
cp ${PATH_PATCHES}/mapemstatem_generate_makefile.bash ${PATH_DEV_ITS}/src/AtsMapemSpatem/bin
cp ${PATH_PATCHES}/run_mtc.bash ${PATH_DEV_ITS}/src/AtsMapemSpatem/bin
cp ${PATH_PATCHES}/run_ptcs.bash ${PATH_DEV_ITS}/src/AtsMapemSpatem/bin
cp ${PATH_PATCHES}/run_all.bash ${PATH_DEV_ITS}/src/AtsMapemSpatem/bin
# Update RSUsSimulator # Update RSUsSimulator
cp ${PATH_PATCHES}/rsusimulator_generate_makefile.bash ${PATH_DEV_ITS}/src/AtsRSUsSimulator/bin cp ${PATH_PATCHES}/rsusimulator_generate_makefile.bash ${PATH_DEV_ITS}/src/AtsRSUsSimulator/bin
cp ${PATH_PATCHES}/run_mtc.bash ${PATH_DEV_ITS}/src/AtsRSUsSimulator/bin cp ${PATH_PATCHES}/run_mtc.bash ${PATH_DEV_ITS}/src/AtsRSUsSimulator/bin
......
...@@ -2197,8 +2197,8 @@ module ItsCam_TpFunctions { ...@@ -2197,8 +2197,8 @@ module ItsCam_TpFunctions {
var FncRetCode v_ret; var FncRetCode v_ret;
// Test control // Test control
if (not PICS_CAM_GENERATION or PICS_RSU or PICS_CV2X_RADIO_COMM) { if (not PICS_CAM_GENERATION or PICS_RSU or (PICS_RADIO_COMM == e_lte_cv2x)) {
log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and not PICS_CV2X_RADIO_COMM required for executing the TC ***"); log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and PICS_RADIO_COMM ITS-G5 required for executing the TC ***");
setverdict(inconc); setverdict(inconc);
stop; stop;
} }
...@@ -2290,8 +2290,8 @@ module ItsCam_TpFunctions { ...@@ -2290,8 +2290,8 @@ module ItsCam_TpFunctions {
var FncRetCode v_ret; var FncRetCode v_ret;
// Test control // Test control
if (not PICS_CAM_GENERATION or PICS_RSU or PICS_CV2X_RADIO_COMM) { if (not PICS_CAM_GENERATION or PICS_RSU or (PICS_RADIO_COMM == e_lte_cv2x)) {
log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and not PICS_CV2X_RADIO_COMM required for executing the TC ***"); log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and PICS_RADIO_COMM ITS-G5 required for executing the TC ***");
setverdict(inconc); setverdict(inconc);
stop; stop;
} }
...@@ -2382,8 +2382,8 @@ module ItsCam_TpFunctions { ...@@ -2382,8 +2382,8 @@ module ItsCam_TpFunctions {
var integer v_i; var integer v_i;
// Test control // Test control
if (not PICS_CAM_GENERATION or PICS_RSU or PICS_CV2X_RADIO_COMM) { if (not PICS_CAM_GENERATION or PICS_RSU or (PICS_RADIO_COMM == e_lte_cv2x)) {
log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and not PICS_CV2X_RADIO_COMM required for executing the TC ***"); log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and PICS_RADIO_COMM ITS-G5 required for executing the TC ***");
setverdict(inconc); setverdict(inconc);
stop; stop;
} }
...@@ -2488,8 +2488,8 @@ module ItsCam_TpFunctions { ...@@ -2488,8 +2488,8 @@ module ItsCam_TpFunctions {
var HeadingValue v_changeHeadingValue := 50; // 4° == 40 var HeadingValue v_changeHeadingValue := 50; // 4° == 40
// Test control // Test control
if (not PICS_CAM_GENERATION or PICS_RSU or PICS_CV2X_RADIO_COMM) { if (not PICS_CAM_GENERATION or PICS_RSU or (PICS_RADIO_COMM == e_lte_cv2x)) {
log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and not PICS_CV2X_RADIO_COMM required for executing the TC ***"); log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and PICS_RADIO_COMM ITS-G5 required for executing the TC ***");
setverdict(inconc); setverdict(inconc);
stop; stop;
} }
...@@ -2551,8 +2551,8 @@ module ItsCam_TpFunctions { ...@@ -2551,8 +2551,8 @@ module ItsCam_TpFunctions {
var float v_changePosValue := 8.0; // 8 >> 4m var float v_changePosValue := 8.0; // 8 >> 4m
// Test control // Test control
if (not PICS_CAM_GENERATION or PICS_RSU or PICS_CV2X_RADIO_COMM) { if (not PICS_CAM_GENERATION or PICS_RSU or (PICS_RADIO_COMM == e_lte_cv2x)) {
log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and not PICS_CV2X_RADIO_COMM required for executing the TC ***"); log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and PICS_RADIO_COMM ITS-G5 required for executing the TC ***");
setverdict(inconc); setverdict(inconc);
stop; stop;
} }
...@@ -2624,8 +2624,8 @@ module ItsCam_TpFunctions { ...@@ -2624,8 +2624,8 @@ module ItsCam_TpFunctions {
var SpeedValue v_changeSpeedValue := 60; // 0,5 m/s << 0,6 m/s == 60 cm/s var SpeedValue v_changeSpeedValue := 60; // 0,5 m/s << 0,6 m/s == 60 cm/s
// Test control // Test control
if (not PICS_CAM_GENERATION or PICS_RSU or PICS_CV2X_RADIO_COMM) { if (not PICS_CAM_GENERATION or PICS_RSU or (PICS_RADIO_COMM == e_lte_cv2x)) {
log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and not PICS_CV2X_RADIO_COMM required for executing the TC ***"); log("*** " & testcasename() & ": PICS_CAM_GENERATION and not PICS_RSU and PICS_RADIO_COMM ITS-G5 required for executing the TC ***");
setverdict(inconc); setverdict(inconc);
stop; stop;
} }
......
...@@ -9160,7 +9160,7 @@ module ItsPki_TestCases { ...@@ -9160,7 +9160,7 @@ module ItsPki_TestCases {
mw_signedData( mw_signedData(
-, -,
mw_toBeSignedData( mw_signedDataPayload ), mw_toBeSignedData( mw_signedDataPayload ),
mw_signerIdentifier_certificate(mw_etsiTs103097Certificate(mw_issuerIdentifier_self)) - // Certificate or HasedId8
))))))) -> value v_response { ))))))) -> value v_response {
var ToBeSignedTlmCtl v_to_be_signed_tlm_ectl; var ToBeSignedTlmCtl v_to_be_signed_tlm_ectl;
   
......
...@@ -875,6 +875,21 @@ module ItsRSUsSimulator_Functions { ...@@ -875,6 +875,21 @@ module ItsRSUsSimulator_Functions {
}, },
c_hopLimit1 c_hopLimit1
)); ));
} else if (p_its_aid == 139) { // IVIM
v_geoNetworkingPdu := valueof(m_geoNwPdu( // FIXME Use PIXIT parameter to get a fully configurable template
m_geoNwTsbPacket_payload(
f_incLocalSeqNumber(),
vc_longPosVectorRsu,
-,
-,
valueof(p_payload)
),
Lifetime:{
multiplier := c_defaultLifetime,
ltBase := e_100s
},
c_hopLimit1
));
} else { // Beacon } else { // Beacon
v_geoNetworkingPdu := valueof(vc_rsuMessagesValueList[vc_rsu_id].beacon); v_geoNetworkingPdu := valueof(vc_rsuMessagesValueList[vc_rsu_id].beacon);
} }
......
...@@ -62,7 +62,7 @@ module ItsRSUsSimulator_Pics { ...@@ -62,7 +62,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU1 := { modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU1 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0201'O mid := '001C6B0D0201'O
} // End of PICS_RSU_GN_ADDRESS_RSU1 } // End of PICS_RSU_GN_ADDRESS_RSU1
...@@ -105,7 +105,7 @@ module ItsRSUsSimulator_Pics { ...@@ -105,7 +105,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU2 := { modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU2 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0202'O mid := '001C6B0D0202'O
} // End of PICS_RSU_GN_ADDRESS_RSU2 } // End of PICS_RSU_GN_ADDRESS_RSU2
...@@ -148,7 +148,7 @@ module ItsRSUsSimulator_Pics { ...@@ -148,7 +148,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU3 := { modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU3 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0203'O mid := '001C6B0D0203'O
} // End of PICS_RSU_GN_ADDRESS_RSU3 } // End of PICS_RSU_GN_ADDRESS_RSU3
...@@ -191,7 +191,7 @@ module ItsRSUsSimulator_Pics { ...@@ -191,7 +191,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU4 := { modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU4 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0204'O mid := '001C6B0D0204'O
} // End of PICS_RSU_GN_ADDRESS_RSU4 } // End of PICS_RSU_GN_ADDRESS_RSU4
...@@ -234,7 +234,7 @@ module ItsRSUsSimulator_Pics { ...@@ -234,7 +234,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU5 := { modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU5 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0205'O mid := '001C6B0D0205'O
} // End of PICS_RSU_GN_ADDRESS_RSU5 } // End of PICS_RSU_GN_ADDRESS_RSU5
...@@ -277,7 +277,7 @@ module ItsRSUsSimulator_Pics { ...@@ -277,7 +277,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU6 := { modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU6 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0206'O mid := '001C6B0D0206'O
} // End of PICS_RSU_GN_ADDRESS_RSU6 } // End of PICS_RSU_GN_ADDRESS_RSU6
...@@ -319,7 +319,7 @@ module ItsRSUsSimulator_Pics { ...@@ -319,7 +319,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU7 := { modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU7 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0207'O mid := '001C6B0D0207'O
} // End of PICS_RSU_GN_ADDRESS_RSU7 } // End of PICS_RSU_GN_ADDRESS_RSU7
...@@ -361,7 +361,7 @@ module ItsRSUsSimulator_Pics { ...@@ -361,7 +361,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU8 := { modulepar GN_Address PICS_RSU_GN_ADDRESS_RSU8 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0208'O mid := '001C6B0D0208'O
} // End of PICS_RSU_GN_ADDRESS_RSU8 } // End of PICS_RSU_GN_ADDRESS_RSU8
...@@ -453,7 +453,7 @@ module ItsRSUsSimulator_Pics { ...@@ -453,7 +453,7 @@ module ItsRSUsSimulator_Pics {
gnAddr := { gnAddr := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_passengerCar, stationType := e_passengerCar,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D02FF'O mid := '001C6B0D02FF'O
}, },
timestamp_ := 0, timestamp_ := 0,
...@@ -547,7 +547,7 @@ module ItsRSUsSimulator_Pics { ...@@ -547,7 +547,7 @@ module ItsRSUsSimulator_Pics {
modulepar GN_Address PICS_UC7_GN_ADDRESS := { modulepar GN_Address PICS_UC7_GN_ADDRESS := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_bus, stationType := e_bus,
stationCountryCode := 39, reserved := 39,
mid := '001C6B0DEEEE'O mid := '001C6B0DEEEE'O
} // End of PICS_UC7_GN_ADDRESS } // End of PICS_UC7_GN_ADDRESS
......
...@@ -44,7 +44,7 @@ module ItsRSUsSimulator_PicsInitConsts { ...@@ -44,7 +44,7 @@ module ItsRSUsSimulator_PicsInitConsts {
const GN_Address c_PICS_RSU_GN_ADDRESS_RSU1 := { const GN_Address c_PICS_RSU_GN_ADDRESS_RSU1 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0201'O mid := '001C6B0D0201'O
} // End of c_PICS_RSU_GN_ADDRESS_RSU1 } // End of c_PICS_RSU_GN_ADDRESS_RSU1
...@@ -86,7 +86,7 @@ module ItsRSUsSimulator_PicsInitConsts { ...@@ -86,7 +86,7 @@ module ItsRSUsSimulator_PicsInitConsts {
const GN_Address c_PICS_RSU_GN_ADDRESS_RSU2 := { const GN_Address c_PICS_RSU_GN_ADDRESS_RSU2 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0202'O mid := '001C6B0D0202'O
} // End of c_PICS_RSU_GN_ADDRESS_RSU2 } // End of c_PICS_RSU_GN_ADDRESS_RSU2
...@@ -128,7 +128,7 @@ module ItsRSUsSimulator_PicsInitConsts { ...@@ -128,7 +128,7 @@ module ItsRSUsSimulator_PicsInitConsts {
const GN_Address c_PICS_RSU_GN_ADDRESS_RSU3 := { const GN_Address c_PICS_RSU_GN_ADDRESS_RSU3 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0203'O mid := '001C6B0D0203'O
} // End of c_PICS_RSU_GN_ADDRESS_RSU3 } // End of c_PICS_RSU_GN_ADDRESS_RSU3
...@@ -170,7 +170,7 @@ module ItsRSUsSimulator_PicsInitConsts { ...@@ -170,7 +170,7 @@ module ItsRSUsSimulator_PicsInitConsts {
const GN_Address c_PICS_RSU_GN_ADDRESS_RSU4 := { const GN_Address c_PICS_RSU_GN_ADDRESS_RSU4 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0204'O mid := '001C6B0D0204'O
} // End of c_PICS_RSU_GN_ADDRESS_RSU4 } // End of c_PICS_RSU_GN_ADDRESS_RSU4
...@@ -212,7 +212,7 @@ module ItsRSUsSimulator_PicsInitConsts { ...@@ -212,7 +212,7 @@ module ItsRSUsSimulator_PicsInitConsts {
const GN_Address c_PICS_RSU_GN_ADDRESS_RSU5 := { const GN_Address c_PICS_RSU_GN_ADDRESS_RSU5 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0205'O mid := '001C6B0D0205'O
} // End of c_PICS_RSU_GN_ADDRESS_RSU5 } // End of c_PICS_RSU_GN_ADDRESS_RSU5
...@@ -254,7 +254,7 @@ module ItsRSUsSimulator_PicsInitConsts { ...@@ -254,7 +254,7 @@ module ItsRSUsSimulator_PicsInitConsts {
const GN_Address c_PICS_RSU_GN_ADDRESS_RSU6 := { const GN_Address c_PICS_RSU_GN_ADDRESS_RSU6 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0206'O mid := '001C6B0D0206'O
} // End of c_PICS_RSU_GN_ADDRESS_RSU6 } // End of c_PICS_RSU_GN_ADDRESS_RSU6
...@@ -296,7 +296,7 @@ module ItsRSUsSimulator_PicsInitConsts { ...@@ -296,7 +296,7 @@ module ItsRSUsSimulator_PicsInitConsts {
const GN_Address c_PICS_RSU_GN_ADDRESS_RSU7 := { const GN_Address c_PICS_RSU_GN_ADDRESS_RSU7 := {
typeOfAddress := e_manual, typeOfAddress := e_manual,
stationType := e_roadSideUnit, stationType := e_roadSideUnit,
stationCountryCode := 33, reserved := 33,
mid := '001C6B0D0207'O mid := '001C6B0D0207'O
} // End of c_PICS_RSU_GN_ADDRESS_RSU7 } // End of c_PICS_RSU_GN_ADDRESS_RSU7
...@@ -338,7 +338,7 @@ module ItsRSUsSimulator_PicsInitConsts { ...@@ -338,7 +338,7 @@ module ItsRSUsSimulator_PicsInitConsts {
const GN_Address c_PICS_RSU_GN_ADDRESS_RSU8 := {