Loading ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Pics.ttcn +30 −30 Original line number Original line Diff line number Diff line Loading @@ -66,7 +66,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111101, stationID := 1111101, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -109,7 +109,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111102, stationID := 1111102, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -152,7 +152,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111103, stationID := 1111103, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -195,7 +195,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111104, stationID := 1111104, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -238,7 +238,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111105, stationID := 1111105, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -281,7 +281,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111106, stationID := 1111106, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -323,7 +323,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111107, stationID := 1111107, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -365,7 +365,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111108, stationID := 1111108, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -551,7 +551,7 @@ module ItsRSUsSimulator_Pics { heading := 10 heading := 10 }, }, stationID := 7895, stationID := 7895, stationType := StationType_passengerCar_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_passengerCar_, vehicleRole := taxi, vehicleRole := taxi, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading @@ -569,7 +569,7 @@ module ItsRSUsSimulator_Pics { semiMajorOrientation := 0 semiMajorOrientation := 0 }, }, altitude := { altitude := { altitudeValue := AltitudeValue_referenceEllipsoidSurface_, altitudeValue := LibItsCommon_ASN1_NamedNumbers.AltitudeValue_referenceEllipsoidSurface_, altitudeConfidence := alt_000_01 altitudeConfidence := alt_000_01 } } } // End of PICS_UC7_COLLISION_POINT } // End of PICS_UC7_COLLISION_POINT Loading Loading @@ -618,7 +618,7 @@ module ItsRSUsSimulator_Pics { } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE modulepar Altitude PICS_DENM_ALTITUDE := { modulepar Altitude PICS_DENM_ALTITUDE := { altitudeValue := AltitudeValue_referenceEllipsoidSurface_, altitudeValue := LibItsCommon_ASN1_NamedNumbers.AltitudeValue_referenceEllipsoidSurface_, altitudeConfidence := alt_000_01 altitudeConfidence := alt_000_01 } // End of PICS_DENM_ALTITUDE } // End of PICS_DENM_ALTITUDE Loading Loading @@ -751,7 +751,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z1_D1 := { modulepar DenmParm PICS_Z1_D1 := { eventPosition := c_PICS_Z1_D1_EP, eventPosition := c_PICS_Z1_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z1_D1_Hx, eventHistory := c_PICS_Z1_D1_Hx, traces := c_PICS_Z1_D1_Tx, traces := c_PICS_Z1_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -858,7 +858,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z1_D2 := { modulepar DenmParm PICS_Z1_D2 := { eventPosition := c_PICS_Z1_D2_EP, eventPosition := c_PICS_Z1_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z1_D2_Hx, eventHistory := c_PICS_Z1_D2_Hx, traces := c_PICS_Z1_D2_Tx, traces := c_PICS_Z1_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -958,7 +958,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z1_D3 := { modulepar DenmParm PICS_Z1_D3 := { eventPosition := c_PICS_Z1_D3_EP, eventPosition := c_PICS_Z1_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z1_D3_Hx, eventHistory := c_PICS_Z1_D3_Hx, traces := c_PICS_Z1_D3_Tx, traces := c_PICS_Z1_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1083,7 +1083,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z2_D1 := { modulepar DenmParm PICS_Z2_D1 := { eventPosition := c_PICS_Z2_D1_EP, eventPosition := c_PICS_Z2_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z2_D1_Hx, eventHistory := c_PICS_Z2_D1_Hx, traces := c_PICS_Z2_D1_Tx, traces := c_PICS_Z2_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1190,7 +1190,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z2_D2 := { modulepar DenmParm PICS_Z2_D2 := { eventPosition := c_PICS_Z2_D2_EP, eventPosition := c_PICS_Z2_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z2_D2_Hx, eventHistory := c_PICS_Z2_D2_Hx, traces := c_PICS_Z2_D2_Tx, traces := c_PICS_Z2_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1290,7 +1290,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z2_D3 := { modulepar DenmParm PICS_Z2_D3 := { eventPosition := c_PICS_Z2_D3_EP, eventPosition := c_PICS_Z2_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z2_D3_Hx, eventHistory := c_PICS_Z2_D3_Hx, traces := c_PICS_Z2_D3_Tx, traces := c_PICS_Z2_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1410,7 +1410,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z3_D1 := { modulepar DenmParm PICS_Z3_D1 := { eventPosition := c_PICS_Z3_D1_EP, eventPosition := c_PICS_Z3_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z3_D1_Hx, eventHistory := c_PICS_Z3_D1_Hx, traces := c_PICS_Z3_D1_Tx, traces := c_PICS_Z3_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1517,7 +1517,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z3_D2 := { modulepar DenmParm PICS_Z3_D2 := { eventPosition := c_PICS_Z3_D2_EP, eventPosition := c_PICS_Z3_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z3_D2_Hx, eventHistory := c_PICS_Z3_D2_Hx, traces := c_PICS_Z3_D2_Tx, traces := c_PICS_Z3_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1617,7 +1617,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z3_D3 := { modulepar DenmParm PICS_Z3_D3 := { eventPosition := c_PICS_Z3_D3_EP, eventPosition := c_PICS_Z3_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z3_D3_Hx, eventHistory := c_PICS_Z3_D3_Hx, traces := c_PICS_Z3_D3_Tx, traces := c_PICS_Z3_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1737,7 +1737,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z4_D1 := { modulepar DenmParm PICS_Z4_D1 := { eventPosition := c_PICS_Z4_D1_EP, eventPosition := c_PICS_Z4_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z4_D1_Hx, eventHistory := c_PICS_Z4_D1_Hx, traces := c_PICS_Z4_D1_Tx, traces := c_PICS_Z4_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1844,7 +1844,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z4_D2 := { modulepar DenmParm PICS_Z4_D2 := { eventPosition := c_PICS_Z4_D2_EP, eventPosition := c_PICS_Z4_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z4_D2_Hx, eventHistory := c_PICS_Z4_D2_Hx, traces := c_PICS_Z4_D2_Tx, traces := c_PICS_Z4_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1944,7 +1944,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z4_D3 := { modulepar DenmParm PICS_Z4_D3 := { eventPosition := c_PICS_Z4_D3_EP, eventPosition := c_PICS_Z4_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z4_D3_Hx, eventHistory := c_PICS_Z4_D3_Hx, traces := c_PICS_Z4_D3_Tx, traces := c_PICS_Z4_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2064,7 +2064,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z5_D1 := { modulepar DenmParm PICS_Z5_D1 := { eventPosition := c_PICS_Z5_D1_EP, eventPosition := c_PICS_Z5_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z5_D1_Hx, eventHistory := c_PICS_Z5_D1_Hx, traces := c_PICS_Z5_D1_Tx, traces := c_PICS_Z5_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2171,7 +2171,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z5_D2 := { modulepar DenmParm PICS_Z5_D2 := { eventPosition := c_PICS_Z5_D2_EP, eventPosition := c_PICS_Z5_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z5_D2_Hx, eventHistory := c_PICS_Z5_D2_Hx, traces := c_PICS_Z5_D2_Tx, traces := c_PICS_Z5_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2271,7 +2271,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z5_D3 := { modulepar DenmParm PICS_Z5_D3 := { eventPosition := c_PICS_Z5_D3_EP, eventPosition := c_PICS_Z5_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z5_D3_Hx, eventHistory := c_PICS_Z5_D3_Hx, traces := c_PICS_Z5_D3_Tx, traces := c_PICS_Z5_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2391,7 +2391,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z6_D1 := { modulepar DenmParm PICS_Z6_D1 := { eventPosition := c_PICS_Z6_D1_EP, eventPosition := c_PICS_Z6_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z6_D1_Hx, eventHistory := c_PICS_Z6_D1_Hx, traces := c_PICS_Z6_D1_Tx, traces := c_PICS_Z6_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2498,7 +2498,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z6_D2 := { modulepar DenmParm PICS_Z6_D2 := { eventPosition := c_PICS_Z6_D2_EP, eventPosition := c_PICS_Z6_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z6_D2_Hx, eventHistory := c_PICS_Z6_D2_Hx, traces := c_PICS_Z6_D2_Tx, traces := c_PICS_Z6_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2598,7 +2598,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z6_D3 := { modulepar DenmParm PICS_Z6_D3 := { eventPosition := c_PICS_Z6_D3_EP, eventPosition := c_PICS_Z6_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z6_D3_Hx, eventHistory := c_PICS_Z6_D3_Hx, traces := c_PICS_Z6_D3_Tx, traces := c_PICS_Z6_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -4223,7 +4223,7 @@ module ItsRSUsSimulator_Pics { } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE modulepar Altitude PICS_IVIM_ALTITUDE := { modulepar Altitude PICS_IVIM_ALTITUDE := { altitudeValue := AltitudeValue_referenceEllipsoidSurface_, altitudeValue := LibItsCommon_ASN1_NamedNumbers.AltitudeValue_referenceEllipsoidSurface_, altitudeConfidence := alt_000_01 altitudeConfidence := alt_000_01 } // End of PICS_DENM_ALTITUDE } // End of PICS_DENM_ALTITUDE Loading ttcn/AtsRSUsSimulator/ItsRSUsSimulator_PicsInitConsts.ttcn +36 −36 File changed.Preview size limit exceeded, changes collapsed. Show changes ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Templates.ttcn +4 −4 Original line number Original line Diff line number Diff line Loading @@ -127,7 +127,7 @@ module ItsRSUsSimulator_Templates { payload := payload := int2oct(PICS_SREM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_SREM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_SREM_BTP_SOURCE_PORT, 2) & int2oct(PICS_SREM_BTP_SOURCE_PORT, 2) & ? '*'O } } /** /** Loading @@ -144,7 +144,7 @@ module ItsRSUsSimulator_Templates { payload := payload := int2oct(PICS_SREM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_SREM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_SREM_BTP_SOURCE_PORT, 2) & int2oct(PICS_SREM_BTP_SOURCE_PORT, 2) & ? '?'O } } /** /** Loading @@ -160,7 +160,7 @@ module ItsRSUsSimulator_Templates { payload := payload := int2oct(PICS_DENM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_DENM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_DENM_BTP_SOURCE_PORT, 2) & int2oct(PICS_DENM_BTP_SOURCE_PORT, 2) & ? '?'O } // End of template mw_geoNwTsbPacketWithNextHeader_denm } // End of template mw_geoNwTsbPacketWithNextHeader_denm /** /** Loading @@ -178,7 +178,7 @@ module ItsRSUsSimulator_Templates { payload := payload := int2oct(PICS_CAM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_CAM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_CAM_BTP_SOURCE_PORT, 2) & int2oct(PICS_CAM_BTP_SOURCE_PORT, 2) & ? '?'O } // End of template mw_geoNwShbPacketWithNextHeader_cam } // End of template mw_geoNwShbPacketWithNextHeader_cam } // End of group geoNetworkingTemplates } // End of group geoNetworkingTemplates Loading ttcn/AtsSecurity/ItsSecurity_Functions.ttcn +3 −3 Original line number Original line Diff line number Diff line Loading @@ -249,7 +249,7 @@ module ItsSecurity_Functions { var octetstring v_gnPayload; var octetstring v_gnPayload; var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB); // Use NodeB var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB); // Use NodeB var template (value) SecuredMessage v_securedMessage; var template (value) SecuredMessage v_securedMessage; var template (value) SituationContainer v_situation := m_situation(CauseCodeType_vehicleBreakdown_, VehicleBreakdownSubCauseCode_unavailable_); var template (value) SituationContainer v_situation := m_situation(LibItsCommon_ASN1_NamedNumbers.CauseCodeType_vehicleBreakdown_, LibItsCommon_ASN1_NamedNumbers.VehicleBreakdownSubCauseCode_unavailable_); // Build signed SecuredMessage // Build signed SecuredMessage v_gnNonSecuredPacket := valueof( v_gnNonSecuredPacket := valueof( Loading Loading @@ -325,7 +325,7 @@ module ItsSecurity_Functions { var octetstring v_gnPayload; var octetstring v_gnPayload; var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB); // Use NodeB var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB); // Use NodeB var template (value) SecuredMessage v_securedMessage; var template (value) SecuredMessage v_securedMessage; var template (value) SituationContainer v_situation := m_situation(CauseCodeType_vehicleBreakdown_, VehicleBreakdownSubCauseCode_unavailable_); var template (value) SituationContainer v_situation := m_situation(LibItsCommon_ASN1_NamedNumbers.CauseCodeType_vehicleBreakdown_, LibItsCommon_ASN1_NamedNumbers.VehicleBreakdownSubCauseCode_unavailable_); // Build signed SecuredMessage // Build signed SecuredMessage v_gnNonSecuredPacket := valueof( v_gnNonSecuredPacket := valueof( Loading Loading @@ -682,7 +682,7 @@ module ItsSecurity_Functions { function fb_secTriggerDenmEvent() runs on ItsDenm /* TITAN TODO: system ItsSecSystem */ { function fb_secTriggerDenmEvent() runs on ItsDenm /* TITAN TODO: system ItsSecSystem */ { // Local variables // Local variables var template (value) SituationContainer v_situation := m_situation(CauseCodeType_vehicleBreakdown_, VehicleBreakdownSubCauseCode_unavailable_); var template (value) SituationContainer v_situation := m_situation(LibItsCommon_ASN1_NamedNumbers.CauseCodeType_vehicleBreakdown_, LibItsCommon_ASN1_NamedNumbers.VehicleBreakdownSubCauseCode_unavailable_); map(self:utPort, system:denmUtPort); map(self:utPort, system:denmUtPort); vc_default := activate(LibItsDenm_Functions.a_utDefault()); vc_default := activate(LibItsDenm_Functions.a_utDefault()); Loading ttcn/TestCodec/TestCodec_CAM.ttcn +26 −8 Original line number Original line Diff line number Diff line Loading @@ -25,21 +25,21 @@ module TestCodec_CAM { GenerationDeltaTime p_generationTime GenerationDeltaTime p_generationTime ) := { ) := { header := { header := { protocolVersion := ItsPduHeader_protocolVersion_currentVersion_, protocolVersion := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_protocolVersion_currentVersion_, messageID := ItsPduHeader_messageID_cam_, messageID := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageID_cam_, stationID := p_stationId stationID := p_stationId }, }, cam := { cam := { generationDeltaTime := p_generationTime, generationDeltaTime := p_generationTime, camParameters := { camParameters := { basicContainer := { basicContainer := { stationType := StationType_passengerCar_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_passengerCar_, referencePosition := { referencePosition := { latitude := 435524450, latitude := 435524450, longitude := 103002416, longitude := 103002416, positionConfidenceEllipse := { positionConfidenceEllipse := { semiMajorConfidence := SemiAxisLength_unavailable_, semiMajorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_unavailable_, semiMinorConfidence := SemiAxisLength_unavailable_, semiMinorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_unavailable_, semiMajorOrientation := 3601 semiMajorOrientation := 3601 }, }, altitude := { altitude := { Loading Loading @@ -69,12 +69,12 @@ module TestCodec_CAM { longitudinalAccelerationConfidence := 1 longitudinalAccelerationConfidence := 1 }, }, curvature := { curvature := { curvatureValue := CurvatureValue_unavailable_, //30001 curvatureValue := LibItsCommon_ASN1_NamedNumbers.CurvatureValue_unavailable_, //30001 curvatureConfidence := onePerMeter_0_00002 curvatureConfidence := onePerMeter_0_00002 }, }, curvatureCalculationMode := yawRateUsed, curvatureCalculationMode := yawRateUsed, yawRate := { yawRate := { yawRateValue := YawRateValue_straight_, yawRateValue := LibItsCommon_ASN1_NamedNumbers.YawRateValue_straight_, yawRateConfidence := unavailable yawRateConfidence := unavailable }, }, accelerationControl := '0000000'B, accelerationControl := '0000000'B, Loading Loading @@ -837,4 +837,22 @@ module TestCodec_CAM { } // End of group encdec_functions } // End of group encdec_functions control { execute(tc_CamReq()); execute(tc_CamInd_1()); execute(tc_CamInd_2()); execute(tc_Cam_Port()); execute(tc_Cam_UtCamInitialize()); execute(tc_Cam_UtCamChangePosition()); execute(tc_Cam_UtCamChangeSpeed()); execute(tc_Cam_UtCamChangePosition()); execute(tc_Cam_UtCamChangeHeading()); execute(tc_Cam_UtCamChangeCurvature()); execute(tc_Cam_UtCamChangeYawRate()); execute(tc_Cam_UtCamChangeYawRate_negative()); execute(tc_Cam_UtCamEventInd_1()); execute(tc_Cam_UtCamEventInd_2()); } } // End of module TestCodec_CAM } // End of module TestCodec_CAM Loading
ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Pics.ttcn +30 −30 Original line number Original line Diff line number Diff line Loading @@ -66,7 +66,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111101, stationID := 1111101, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -109,7 +109,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111102, stationID := 1111102, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -152,7 +152,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111103, stationID := 1111103, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -195,7 +195,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111104, stationID := 1111104, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -238,7 +238,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111105, stationID := 1111105, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -281,7 +281,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111106, stationID := 1111106, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -323,7 +323,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111107, stationID := 1111107, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -365,7 +365,7 @@ module ItsRSUsSimulator_Pics { heading := 0 heading := 0 }, }, stationID := 1111108, stationID := 1111108, stationType := StationType_roadSideUnit_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_roadSideUnit_, vehicleRole := roadOperator, vehicleRole := roadOperator, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading Loading @@ -551,7 +551,7 @@ module ItsRSUsSimulator_Pics { heading := 10 heading := 10 }, }, stationID := 7895, stationID := 7895, stationType := StationType_passengerCar_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_passengerCar_, vehicleRole := taxi, vehicleRole := taxi, geoShape := e_geoCircle, geoShape := e_geoCircle, geoParms := { geoParms := { Loading @@ -569,7 +569,7 @@ module ItsRSUsSimulator_Pics { semiMajorOrientation := 0 semiMajorOrientation := 0 }, }, altitude := { altitude := { altitudeValue := AltitudeValue_referenceEllipsoidSurface_, altitudeValue := LibItsCommon_ASN1_NamedNumbers.AltitudeValue_referenceEllipsoidSurface_, altitudeConfidence := alt_000_01 altitudeConfidence := alt_000_01 } } } // End of PICS_UC7_COLLISION_POINT } // End of PICS_UC7_COLLISION_POINT Loading Loading @@ -618,7 +618,7 @@ module ItsRSUsSimulator_Pics { } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE modulepar Altitude PICS_DENM_ALTITUDE := { modulepar Altitude PICS_DENM_ALTITUDE := { altitudeValue := AltitudeValue_referenceEllipsoidSurface_, altitudeValue := LibItsCommon_ASN1_NamedNumbers.AltitudeValue_referenceEllipsoidSurface_, altitudeConfidence := alt_000_01 altitudeConfidence := alt_000_01 } // End of PICS_DENM_ALTITUDE } // End of PICS_DENM_ALTITUDE Loading Loading @@ -751,7 +751,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z1_D1 := { modulepar DenmParm PICS_Z1_D1 := { eventPosition := c_PICS_Z1_D1_EP, eventPosition := c_PICS_Z1_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z1_D1_Hx, eventHistory := c_PICS_Z1_D1_Hx, traces := c_PICS_Z1_D1_Tx, traces := c_PICS_Z1_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -858,7 +858,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z1_D2 := { modulepar DenmParm PICS_Z1_D2 := { eventPosition := c_PICS_Z1_D2_EP, eventPosition := c_PICS_Z1_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z1_D2_Hx, eventHistory := c_PICS_Z1_D2_Hx, traces := c_PICS_Z1_D2_Tx, traces := c_PICS_Z1_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -958,7 +958,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z1_D3 := { modulepar DenmParm PICS_Z1_D3 := { eventPosition := c_PICS_Z1_D3_EP, eventPosition := c_PICS_Z1_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z1_D3_Hx, eventHistory := c_PICS_Z1_D3_Hx, traces := c_PICS_Z1_D3_Tx, traces := c_PICS_Z1_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1083,7 +1083,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z2_D1 := { modulepar DenmParm PICS_Z2_D1 := { eventPosition := c_PICS_Z2_D1_EP, eventPosition := c_PICS_Z2_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z2_D1_Hx, eventHistory := c_PICS_Z2_D1_Hx, traces := c_PICS_Z2_D1_Tx, traces := c_PICS_Z2_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1190,7 +1190,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z2_D2 := { modulepar DenmParm PICS_Z2_D2 := { eventPosition := c_PICS_Z2_D2_EP, eventPosition := c_PICS_Z2_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z2_D2_Hx, eventHistory := c_PICS_Z2_D2_Hx, traces := c_PICS_Z2_D2_Tx, traces := c_PICS_Z2_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1290,7 +1290,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z2_D3 := { modulepar DenmParm PICS_Z2_D3 := { eventPosition := c_PICS_Z2_D3_EP, eventPosition := c_PICS_Z2_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z2_D3_Hx, eventHistory := c_PICS_Z2_D3_Hx, traces := c_PICS_Z2_D3_Tx, traces := c_PICS_Z2_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1410,7 +1410,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z3_D1 := { modulepar DenmParm PICS_Z3_D1 := { eventPosition := c_PICS_Z3_D1_EP, eventPosition := c_PICS_Z3_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z3_D1_Hx, eventHistory := c_PICS_Z3_D1_Hx, traces := c_PICS_Z3_D1_Tx, traces := c_PICS_Z3_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1517,7 +1517,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z3_D2 := { modulepar DenmParm PICS_Z3_D2 := { eventPosition := c_PICS_Z3_D2_EP, eventPosition := c_PICS_Z3_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z3_D2_Hx, eventHistory := c_PICS_Z3_D2_Hx, traces := c_PICS_Z3_D2_Tx, traces := c_PICS_Z3_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1617,7 +1617,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z3_D3 := { modulepar DenmParm PICS_Z3_D3 := { eventPosition := c_PICS_Z3_D3_EP, eventPosition := c_PICS_Z3_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z3_D3_Hx, eventHistory := c_PICS_Z3_D3_Hx, traces := c_PICS_Z3_D3_Tx, traces := c_PICS_Z3_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1737,7 +1737,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z4_D1 := { modulepar DenmParm PICS_Z4_D1 := { eventPosition := c_PICS_Z4_D1_EP, eventPosition := c_PICS_Z4_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z4_D1_Hx, eventHistory := c_PICS_Z4_D1_Hx, traces := c_PICS_Z4_D1_Tx, traces := c_PICS_Z4_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1844,7 +1844,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z4_D2 := { modulepar DenmParm PICS_Z4_D2 := { eventPosition := c_PICS_Z4_D2_EP, eventPosition := c_PICS_Z4_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z4_D2_Hx, eventHistory := c_PICS_Z4_D2_Hx, traces := c_PICS_Z4_D2_Tx, traces := c_PICS_Z4_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -1944,7 +1944,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z4_D3 := { modulepar DenmParm PICS_Z4_D3 := { eventPosition := c_PICS_Z4_D3_EP, eventPosition := c_PICS_Z4_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z4_D3_Hx, eventHistory := c_PICS_Z4_D3_Hx, traces := c_PICS_Z4_D3_Tx, traces := c_PICS_Z4_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2064,7 +2064,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z5_D1 := { modulepar DenmParm PICS_Z5_D1 := { eventPosition := c_PICS_Z5_D1_EP, eventPosition := c_PICS_Z5_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z5_D1_Hx, eventHistory := c_PICS_Z5_D1_Hx, traces := c_PICS_Z5_D1_Tx, traces := c_PICS_Z5_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2171,7 +2171,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z5_D2 := { modulepar DenmParm PICS_Z5_D2 := { eventPosition := c_PICS_Z5_D2_EP, eventPosition := c_PICS_Z5_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z5_D2_Hx, eventHistory := c_PICS_Z5_D2_Hx, traces := c_PICS_Z5_D2_Tx, traces := c_PICS_Z5_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2271,7 +2271,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z5_D3 := { modulepar DenmParm PICS_Z5_D3 := { eventPosition := c_PICS_Z5_D3_EP, eventPosition := c_PICS_Z5_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z5_D3_Hx, eventHistory := c_PICS_Z5_D3_Hx, traces := c_PICS_Z5_D3_Tx, traces := c_PICS_Z5_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2391,7 +2391,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z6_D1 := { modulepar DenmParm PICS_Z6_D1 := { eventPosition := c_PICS_Z6_D1_EP, eventPosition := c_PICS_Z6_D1_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z6_D1_Hx, eventHistory := c_PICS_Z6_D1_Hx, traces := c_PICS_Z6_D1_Tx, traces := c_PICS_Z6_D1_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2498,7 +2498,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z6_D2 := { modulepar DenmParm PICS_Z6_D2 := { eventPosition := c_PICS_Z6_D2_EP, eventPosition := c_PICS_Z6_D2_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z6_D2_Hx, eventHistory := c_PICS_Z6_D2_Hx, traces := c_PICS_Z6_D2_Tx, traces := c_PICS_Z6_D2_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -2598,7 +2598,7 @@ module ItsRSUsSimulator_Pics { modulepar DenmParm PICS_Z6_D3 := { modulepar DenmParm PICS_Z6_D3 := { eventPosition := c_PICS_Z6_D3_EP, eventPosition := c_PICS_Z6_D3_EP, causeCodeType := CauseCodeType_roadworks_, causeCodeType := LibItsCommon_ASN1_NamedNumbers.CauseCodeType_roadworks_, eventHistory := c_PICS_Z6_D3_Hx, eventHistory := c_PICS_Z6_D3_Hx, traces := c_PICS_Z6_D3_Tx, traces := c_PICS_Z6_D3_Tx, roadWorksContainerExtended := { roadWorksContainerExtended := { Loading Loading @@ -4223,7 +4223,7 @@ module ItsRSUsSimulator_Pics { } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE } // End of PICS_DENM_POSITION_CONFIDENCE_ELLIPSE modulepar Altitude PICS_IVIM_ALTITUDE := { modulepar Altitude PICS_IVIM_ALTITUDE := { altitudeValue := AltitudeValue_referenceEllipsoidSurface_, altitudeValue := LibItsCommon_ASN1_NamedNumbers.AltitudeValue_referenceEllipsoidSurface_, altitudeConfidence := alt_000_01 altitudeConfidence := alt_000_01 } // End of PICS_DENM_ALTITUDE } // End of PICS_DENM_ALTITUDE Loading
ttcn/AtsRSUsSimulator/ItsRSUsSimulator_PicsInitConsts.ttcn +36 −36 File changed.Preview size limit exceeded, changes collapsed. Show changes
ttcn/AtsRSUsSimulator/ItsRSUsSimulator_Templates.ttcn +4 −4 Original line number Original line Diff line number Diff line Loading @@ -127,7 +127,7 @@ module ItsRSUsSimulator_Templates { payload := payload := int2oct(PICS_SREM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_SREM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_SREM_BTP_SOURCE_PORT, 2) & int2oct(PICS_SREM_BTP_SOURCE_PORT, 2) & ? '*'O } } /** /** Loading @@ -144,7 +144,7 @@ module ItsRSUsSimulator_Templates { payload := payload := int2oct(PICS_SREM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_SREM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_SREM_BTP_SOURCE_PORT, 2) & int2oct(PICS_SREM_BTP_SOURCE_PORT, 2) & ? '?'O } } /** /** Loading @@ -160,7 +160,7 @@ module ItsRSUsSimulator_Templates { payload := payload := int2oct(PICS_DENM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_DENM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_DENM_BTP_SOURCE_PORT, 2) & int2oct(PICS_DENM_BTP_SOURCE_PORT, 2) & ? '?'O } // End of template mw_geoNwTsbPacketWithNextHeader_denm } // End of template mw_geoNwTsbPacketWithNextHeader_denm /** /** Loading @@ -178,7 +178,7 @@ module ItsRSUsSimulator_Templates { payload := payload := int2oct(PICS_CAM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_CAM_BTP_DESTINATION_PORT, 2) & int2oct(PICS_CAM_BTP_SOURCE_PORT, 2) & int2oct(PICS_CAM_BTP_SOURCE_PORT, 2) & ? '?'O } // End of template mw_geoNwShbPacketWithNextHeader_cam } // End of template mw_geoNwShbPacketWithNextHeader_cam } // End of group geoNetworkingTemplates } // End of group geoNetworkingTemplates Loading
ttcn/AtsSecurity/ItsSecurity_Functions.ttcn +3 −3 Original line number Original line Diff line number Diff line Loading @@ -249,7 +249,7 @@ module ItsSecurity_Functions { var octetstring v_gnPayload; var octetstring v_gnPayload; var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB); // Use NodeB var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB); // Use NodeB var template (value) SecuredMessage v_securedMessage; var template (value) SecuredMessage v_securedMessage; var template (value) SituationContainer v_situation := m_situation(CauseCodeType_vehicleBreakdown_, VehicleBreakdownSubCauseCode_unavailable_); var template (value) SituationContainer v_situation := m_situation(LibItsCommon_ASN1_NamedNumbers.CauseCodeType_vehicleBreakdown_, LibItsCommon_ASN1_NamedNumbers.VehicleBreakdownSubCauseCode_unavailable_); // Build signed SecuredMessage // Build signed SecuredMessage v_gnNonSecuredPacket := valueof( v_gnNonSecuredPacket := valueof( Loading Loading @@ -325,7 +325,7 @@ module ItsSecurity_Functions { var octetstring v_gnPayload; var octetstring v_gnPayload; var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB); // Use NodeB var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB); // Use NodeB var template (value) SecuredMessage v_securedMessage; var template (value) SecuredMessage v_securedMessage; var template (value) SituationContainer v_situation := m_situation(CauseCodeType_vehicleBreakdown_, VehicleBreakdownSubCauseCode_unavailable_); var template (value) SituationContainer v_situation := m_situation(LibItsCommon_ASN1_NamedNumbers.CauseCodeType_vehicleBreakdown_, LibItsCommon_ASN1_NamedNumbers.VehicleBreakdownSubCauseCode_unavailable_); // Build signed SecuredMessage // Build signed SecuredMessage v_gnNonSecuredPacket := valueof( v_gnNonSecuredPacket := valueof( Loading Loading @@ -682,7 +682,7 @@ module ItsSecurity_Functions { function fb_secTriggerDenmEvent() runs on ItsDenm /* TITAN TODO: system ItsSecSystem */ { function fb_secTriggerDenmEvent() runs on ItsDenm /* TITAN TODO: system ItsSecSystem */ { // Local variables // Local variables var template (value) SituationContainer v_situation := m_situation(CauseCodeType_vehicleBreakdown_, VehicleBreakdownSubCauseCode_unavailable_); var template (value) SituationContainer v_situation := m_situation(LibItsCommon_ASN1_NamedNumbers.CauseCodeType_vehicleBreakdown_, LibItsCommon_ASN1_NamedNumbers.VehicleBreakdownSubCauseCode_unavailable_); map(self:utPort, system:denmUtPort); map(self:utPort, system:denmUtPort); vc_default := activate(LibItsDenm_Functions.a_utDefault()); vc_default := activate(LibItsDenm_Functions.a_utDefault()); Loading
ttcn/TestCodec/TestCodec_CAM.ttcn +26 −8 Original line number Original line Diff line number Diff line Loading @@ -25,21 +25,21 @@ module TestCodec_CAM { GenerationDeltaTime p_generationTime GenerationDeltaTime p_generationTime ) := { ) := { header := { header := { protocolVersion := ItsPduHeader_protocolVersion_currentVersion_, protocolVersion := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_protocolVersion_currentVersion_, messageID := ItsPduHeader_messageID_cam_, messageID := LibItsCommon_ASN1_NamedNumbers.ItsPduHeader_messageID_cam_, stationID := p_stationId stationID := p_stationId }, }, cam := { cam := { generationDeltaTime := p_generationTime, generationDeltaTime := p_generationTime, camParameters := { camParameters := { basicContainer := { basicContainer := { stationType := StationType_passengerCar_, stationType := LibItsCommon_ASN1_NamedNumbers.StationType_passengerCar_, referencePosition := { referencePosition := { latitude := 435524450, latitude := 435524450, longitude := 103002416, longitude := 103002416, positionConfidenceEllipse := { positionConfidenceEllipse := { semiMajorConfidence := SemiAxisLength_unavailable_, semiMajorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_unavailable_, semiMinorConfidence := SemiAxisLength_unavailable_, semiMinorConfidence := LibItsCommon_ASN1_NamedNumbers.SemiAxisLength_unavailable_, semiMajorOrientation := 3601 semiMajorOrientation := 3601 }, }, altitude := { altitude := { Loading Loading @@ -69,12 +69,12 @@ module TestCodec_CAM { longitudinalAccelerationConfidence := 1 longitudinalAccelerationConfidence := 1 }, }, curvature := { curvature := { curvatureValue := CurvatureValue_unavailable_, //30001 curvatureValue := LibItsCommon_ASN1_NamedNumbers.CurvatureValue_unavailable_, //30001 curvatureConfidence := onePerMeter_0_00002 curvatureConfidence := onePerMeter_0_00002 }, }, curvatureCalculationMode := yawRateUsed, curvatureCalculationMode := yawRateUsed, yawRate := { yawRate := { yawRateValue := YawRateValue_straight_, yawRateValue := LibItsCommon_ASN1_NamedNumbers.YawRateValue_straight_, yawRateConfidence := unavailable yawRateConfidence := unavailable }, }, accelerationControl := '0000000'B, accelerationControl := '0000000'B, Loading Loading @@ -837,4 +837,22 @@ module TestCodec_CAM { } // End of group encdec_functions } // End of group encdec_functions control { execute(tc_CamReq()); execute(tc_CamInd_1()); execute(tc_CamInd_2()); execute(tc_Cam_Port()); execute(tc_Cam_UtCamInitialize()); execute(tc_Cam_UtCamChangePosition()); execute(tc_Cam_UtCamChangeSpeed()); execute(tc_Cam_UtCamChangePosition()); execute(tc_Cam_UtCamChangeHeading()); execute(tc_Cam_UtCamChangeCurvature()); execute(tc_Cam_UtCamChangeYawRate()); execute(tc_Cam_UtCamChangeYawRate_negative()); execute(tc_Cam_UtCamEventInd_1()); execute(tc_Cam_UtCamEventInd_2()); } } // End of module TestCodec_CAM } // End of module TestCodec_CAM