Loading ttcn/AtsCAM/ItsCam_TpFunctions.ttcn +13 −12 Original line number Diff line number Diff line Loading @@ -2998,7 +2998,8 @@ module ItsCam_TpFunctions { function f_CAM_MSD_SSP_BO_XX( in Oct8 p_certHashedId8, in template(value) UtCamTrigger p_utEvent, in template(present) CAM pmw_CamMsg in template(present) CAM pmw_CamMsg, in template(present) Bit128 pmw_ssp := ? ) runs on ItsCam { // Local variables Loading @@ -3022,7 +3023,7 @@ module ItsCam_TpFunctions { // Test adapter configuration // Preamble // TODO: initialize IUT with given certificate // initialize IUT with given certificate f_prInitialState( e_staticPosition, true, Loading @@ -3037,7 +3038,10 @@ module ItsCam_TpFunctions { // Test Body tc_ac.start; alt { [] camPort.receive(mw_camInd ( pmw_CamMsg )) { [] camPort.receive(mw_camIndWithSecurityParameters ( pmw_CamMsg, pmw_ssp )) { tc_ac.stop; log("*** " & testcasename() & ": FAIL: Expected CAM message received ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); Loading Loading @@ -3182,10 +3186,7 @@ module ItsCam_TpFunctions { } // Test component configuration f_cfUp(); // Test adapter configuration // TODO: instruct adapter to use certName to sign the message f_cfUp(p_certName); // Preamble f_prInitialState(); Loading Loading @@ -3228,7 +3229,7 @@ module ItsCam_TpFunctions { function f_CAM_MSP_SSP_BV_02() runs on ItsCam { f_CAM_MSP_SSP_BV_XX("CERT_TS_CAM_02", f_CAM_MSP_SSP_BV_XX("CERT_TS_CAM_BO_02_AT", m_camMsg_publicTransport( f_getTsStationId(), f_getCurrentTime() mod 65536, // See ETSI EN 302 637-2 V1.3.0 - Clause B.3 generationDelatTime Loading @@ -3239,7 +3240,7 @@ module ItsCam_TpFunctions { function f_CAM_MSP_SSP_BV_03() runs on ItsCam { f_CAM_MSP_SSP_BV_XX("CERT_TS_CAM_03", f_CAM_MSP_SSP_BV_XX("CERT_TS_CAM_BO_03_AT", m_camMsg_specialTransport( f_getTsStationId(), f_getCurrentTime() mod 65536, // See ETSI EN 302 637-2 V1.3.0 - Clause B.3 generationDelatTime Loading ttcn/AtsDENM/ItsDenm_TpFunctions.ttcn +22 −5 Original line number Diff line number Diff line Loading @@ -2373,7 +2373,7 @@ module ItsDenm_TpFunctions { f_DEN_SSP_BV_XX ( PX_CERT_IUT_DENM_01, m_situation(CauseCodeType_trafficCondition_, TrafficConditionSubCauseCode_unavailable_), mw_sspTrafficCondition mw_sspNoTrafficCondition ); } Loading @@ -2381,7 +2381,7 @@ module ItsDenm_TpFunctions { f_DEN_SSP_BV_XX ( PX_CERT_IUT_DENM_02, m_situation(CauseCodeType_accident_, AccidentSubCauseCode_unavailable_), mw_sspAccident mw_sspNoAccident ); } Loading Loading @@ -2887,7 +2887,11 @@ module ItsDenm_TpFunctions { f_cfUp(); // Test adapter configuration // TODO: instruct adapter to use p_certName to sign message // instruct adapter to use p_certName to sign message if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certName))) { log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***"); stop; } // Preamble f_prInitialState(); Loading Loading @@ -2967,7 +2971,12 @@ module ItsDenm_TpFunctions { // Test adapter configuration // TODO: instruct adapter to use c_certName_FullSSP to sign message // instruct adapter to use c_certName_FullDENMSSP to sign message if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(c_certName_FullDENMSSP))) { log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***"); stop; } // Preamble f_prInitialState(); Loading @@ -2985,7 +2994,15 @@ module ItsDenm_TpFunctions { ); f_sleep(1.0); // TODO: instruct adapter to use p_certName to sign message // instruct adapter to use p_certName to sign message if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certName))) { log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***"); stop; } f_sleep(1.0); v_referenceTime2 := f_getCurrentTime(); v_actionId := f_sendDenMessage( m_denm( Loading Loading
ttcn/AtsCAM/ItsCam_TpFunctions.ttcn +13 −12 Original line number Diff line number Diff line Loading @@ -2998,7 +2998,8 @@ module ItsCam_TpFunctions { function f_CAM_MSD_SSP_BO_XX( in Oct8 p_certHashedId8, in template(value) UtCamTrigger p_utEvent, in template(present) CAM pmw_CamMsg in template(present) CAM pmw_CamMsg, in template(present) Bit128 pmw_ssp := ? ) runs on ItsCam { // Local variables Loading @@ -3022,7 +3023,7 @@ module ItsCam_TpFunctions { // Test adapter configuration // Preamble // TODO: initialize IUT with given certificate // initialize IUT with given certificate f_prInitialState( e_staticPosition, true, Loading @@ -3037,7 +3038,10 @@ module ItsCam_TpFunctions { // Test Body tc_ac.start; alt { [] camPort.receive(mw_camInd ( pmw_CamMsg )) { [] camPort.receive(mw_camIndWithSecurityParameters ( pmw_CamMsg, pmw_ssp )) { tc_ac.stop; log("*** " & testcasename() & ": FAIL: Expected CAM message received ***"); f_selfOrClientSyncAndVerdict(c_tbDone, e_error); Loading Loading @@ -3182,10 +3186,7 @@ module ItsCam_TpFunctions { } // Test component configuration f_cfUp(); // Test adapter configuration // TODO: instruct adapter to use certName to sign the message f_cfUp(p_certName); // Preamble f_prInitialState(); Loading Loading @@ -3228,7 +3229,7 @@ module ItsCam_TpFunctions { function f_CAM_MSP_SSP_BV_02() runs on ItsCam { f_CAM_MSP_SSP_BV_XX("CERT_TS_CAM_02", f_CAM_MSP_SSP_BV_XX("CERT_TS_CAM_BO_02_AT", m_camMsg_publicTransport( f_getTsStationId(), f_getCurrentTime() mod 65536, // See ETSI EN 302 637-2 V1.3.0 - Clause B.3 generationDelatTime Loading @@ -3239,7 +3240,7 @@ module ItsCam_TpFunctions { function f_CAM_MSP_SSP_BV_03() runs on ItsCam { f_CAM_MSP_SSP_BV_XX("CERT_TS_CAM_03", f_CAM_MSP_SSP_BV_XX("CERT_TS_CAM_BO_03_AT", m_camMsg_specialTransport( f_getTsStationId(), f_getCurrentTime() mod 65536, // See ETSI EN 302 637-2 V1.3.0 - Clause B.3 generationDelatTime Loading
ttcn/AtsDENM/ItsDenm_TpFunctions.ttcn +22 −5 Original line number Diff line number Diff line Loading @@ -2373,7 +2373,7 @@ module ItsDenm_TpFunctions { f_DEN_SSP_BV_XX ( PX_CERT_IUT_DENM_01, m_situation(CauseCodeType_trafficCondition_, TrafficConditionSubCauseCode_unavailable_), mw_sspTrafficCondition mw_sspNoTrafficCondition ); } Loading @@ -2381,7 +2381,7 @@ module ItsDenm_TpFunctions { f_DEN_SSP_BV_XX ( PX_CERT_IUT_DENM_02, m_situation(CauseCodeType_accident_, AccidentSubCauseCode_unavailable_), mw_sspAccident mw_sspNoAccident ); } Loading Loading @@ -2887,7 +2887,11 @@ module ItsDenm_TpFunctions { f_cfUp(); // Test adapter configuration // TODO: instruct adapter to use p_certName to sign message // instruct adapter to use p_certName to sign message if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certName))) { log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***"); stop; } // Preamble f_prInitialState(); Loading Loading @@ -2967,7 +2971,12 @@ module ItsDenm_TpFunctions { // Test adapter configuration // TODO: instruct adapter to use c_certName_FullSSP to sign message // instruct adapter to use c_certName_FullDENMSSP to sign message if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(c_certName_FullDENMSSP))) { log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***"); stop; } // Preamble f_prInitialState(); Loading @@ -2985,7 +2994,15 @@ module ItsDenm_TpFunctions { ); f_sleep(1.0); // TODO: instruct adapter to use p_certName to sign message // instruct adapter to use p_certName to sign message if(e_success != f_acTriggerSecEvent(m_acEnableSecurity(p_certName))) { log("*** INFO: TEST CASE NOW STOPPING ITSELF! ***"); stop; } f_sleep(1.0); v_referenceTime2 := f_getCurrentTime(); v_actionId := f_sendDenMessage( m_denm( Loading