Loading ttcn/DENM/LibItsDenm_TypesAndValues.ttcn +2 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ module LibItsDenm_TypesAndValues { //LibCommon import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; // LibIts import from DENM_PDU_Descriptions language "ASN.1:1997" all; Loading ttcn/IVIM/LibItsIvim_Templates.ttcn +0 −34 Original line number Diff line number Diff line Loading @@ -71,25 +71,6 @@ module LibItsIvim_Templates { its_aid := * } // End of template mw_ivimInd /** * @desc Send template for IVI Message (IvimPort Primitive) * @param p_iviMsg The expected IVI Message */ template (value) IvimInd m_ivimInd( in template (value) IVIM p_iviMsg ) := { msgIn := p_iviMsg, recvTime := omit, gnNextHeader := omit, gnHeaderType := omit, gnHeaderSubtype := omit, gnLifetime := omit, gnTrafficClass := omit, btpDestinationPort := omit, btpInfo := omit, ssp := omit, its_aid := omit } // End of template m_ivimInd /** * @desc Receive template for IVI Message (IvimPort Primitive) Loading Loading @@ -145,21 +126,6 @@ module LibItsIvim_Templates { its_aid := p_its_aid } // End of template mw_ivimIndWithSecurityParameters /** * @desc Send template for IVI Message (IvimPort Primitive) * @param p_iviMsg The expected IVI Message * @param p_ssp SSP security parameter * @param p_its_aid ITS-AID value */ template IvimInd m_ivimIndWithSecurityParameters( template (value) IVIM p_iviMsg, template Bit256 p_ssp := omit, template UInt32 p_its_aid := omit ) modifies m_ivimInd := { ssp := p_ssp, its_aid := p_its_aid } // End of template mw_ivimIndWithSecurityParameters group utPrimitives { /** Loading ttcn/SremSsem/LibItsSremSsem_Functions.ttcn +39 −0 Original line number Diff line number Diff line Loading @@ -382,6 +382,45 @@ module LibItsSremSsem_Functions { group sendFunctions { /** * @desc Sends a SREM message for cancellation */ function f_sendSreMessageForCancellation() runs on ItsSremSsem { // Send SREM cancellation sremSsemPort.send( m_sremReq( m_sremPdu( m_srem( m_requestorDescription( m_vehicleID( f_getIutStationId() ), m_requestorType( basicVehicle ) ), { m_signalRequestPackage( m_signalRequest( m_intersectionReferenceID, 17, priorityCancellation, { lane := 2 } ) ) })))); tc_noac.start; alt { [] sremSsemPort.receive(mw_ssemInd) { tc_noac.stop; log("*** " & testcasename() & ": INCONC: Received SSEM PDU after cancellation. ***"); } [] tc_noac.timeout { log("*** " & testcasename() & ": PASS: No more SSEM PDU received after cancellation. ***"); } } } /** * @desc Sends a SSEM message * @param p_sendMsg The IVI message to send. Loading ttcn/SremSsem/LibItsSremSsem_EncdecDeclarations.ttcn +1 −1 File changed.Contains only whitespace changes. Show changes Loading
ttcn/DENM/LibItsDenm_TypesAndValues.ttcn +2 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ module LibItsDenm_TypesAndValues { //LibCommon import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; // LibIts import from DENM_PDU_Descriptions language "ASN.1:1997" all; Loading
ttcn/IVIM/LibItsIvim_Templates.ttcn +0 −34 Original line number Diff line number Diff line Loading @@ -71,25 +71,6 @@ module LibItsIvim_Templates { its_aid := * } // End of template mw_ivimInd /** * @desc Send template for IVI Message (IvimPort Primitive) * @param p_iviMsg The expected IVI Message */ template (value) IvimInd m_ivimInd( in template (value) IVIM p_iviMsg ) := { msgIn := p_iviMsg, recvTime := omit, gnNextHeader := omit, gnHeaderType := omit, gnHeaderSubtype := omit, gnLifetime := omit, gnTrafficClass := omit, btpDestinationPort := omit, btpInfo := omit, ssp := omit, its_aid := omit } // End of template m_ivimInd /** * @desc Receive template for IVI Message (IvimPort Primitive) Loading Loading @@ -145,21 +126,6 @@ module LibItsIvim_Templates { its_aid := p_its_aid } // End of template mw_ivimIndWithSecurityParameters /** * @desc Send template for IVI Message (IvimPort Primitive) * @param p_iviMsg The expected IVI Message * @param p_ssp SSP security parameter * @param p_its_aid ITS-AID value */ template IvimInd m_ivimIndWithSecurityParameters( template (value) IVIM p_iviMsg, template Bit256 p_ssp := omit, template UInt32 p_its_aid := omit ) modifies m_ivimInd := { ssp := p_ssp, its_aid := p_its_aid } // End of template mw_ivimIndWithSecurityParameters group utPrimitives { /** Loading
ttcn/SremSsem/LibItsSremSsem_Functions.ttcn +39 −0 Original line number Diff line number Diff line Loading @@ -382,6 +382,45 @@ module LibItsSremSsem_Functions { group sendFunctions { /** * @desc Sends a SREM message for cancellation */ function f_sendSreMessageForCancellation() runs on ItsSremSsem { // Send SREM cancellation sremSsemPort.send( m_sremReq( m_sremPdu( m_srem( m_requestorDescription( m_vehicleID( f_getIutStationId() ), m_requestorType( basicVehicle ) ), { m_signalRequestPackage( m_signalRequest( m_intersectionReferenceID, 17, priorityCancellation, { lane := 2 } ) ) })))); tc_noac.start; alt { [] sremSsemPort.receive(mw_ssemInd) { tc_noac.stop; log("*** " & testcasename() & ": INCONC: Received SSEM PDU after cancellation. ***"); } [] tc_noac.timeout { log("*** " & testcasename() & ": PASS: No more SSEM PDU received after cancellation. ***"); } } } /** * @desc Sends a SSEM message * @param p_sendMsg The IVI message to send. Loading
ttcn/SremSsem/LibItsSremSsem_EncdecDeclarations.ttcn +1 −1 File changed.Contains only whitespace changes. Show changes