Loading ttcn/DENM/LibItsDenm_Functions.ttcn +3 −1 Original line number Original line Diff line number Diff line Loading @@ -550,7 +550,9 @@ module LibItsDenm_Functions { ) ) ); ); return valueof(p_denm.management).actionID; //FIXME RGY Titan doesn't support dot notation after valueof at the moment // return valueof(p_denm.management).actionID; return valueof(p_denm.management.actionID); } } } // end sendFunctions } // end sendFunctions Loading ttcn/DENM/LibItsDenm_Templates.ttcn +10 −4 Original line number Original line Diff line number Diff line Loading @@ -23,6 +23,7 @@ module LibItsDenm_Templates { import from LibItsCommon_TypesAndValues all; import from LibItsCommon_TypesAndValues all; import from LibItsCommon_Functions all; import from LibItsCommon_Functions all; import from LibItsCommon_Pixits all; import from LibItsCommon_Pixits all; import from LibItsCommon_ASN1_NamedNumbers all; // LibItsDenm // LibItsDenm import from LibItsDenm_TestSystem all; import from LibItsDenm_TestSystem all; Loading Loading @@ -83,7 +84,9 @@ module LibItsDenm_Templates { * @param p_gnLifetime GN packet lifetime value (ms) * @param p_gnLifetime GN packet lifetime value (ms) * @param p_gnTrafficClass GN traffic class value * @param p_gnTrafficClass GN traffic class value */ */ template DenmInd mw_denmIndWithGnParameters ( //FIXME RGY template restriction can be the same as its base template: used in receiving operations only, where single "omit" is not allowed // template DenmInd mw_denmIndWithGnParameters ( template(present) DenmInd mw_denmIndWithGnParameters ( template (present) DENM p_denMsg, template (present) DENM p_denMsg, in template UInt8 p_gnNextHeader := *, in template UInt8 p_gnNextHeader := *, in template UInt8 p_gnHeaderType := *, in template UInt8 p_gnHeaderType := *, Loading @@ -104,7 +107,8 @@ module LibItsDenm_Templates { * @param p_ssp SSP security parameter * @param p_ssp SSP security parameter * @param p_its_aid ITS-AID value * @param p_its_aid ITS-AID value */ */ template DenmInd mw_denmIndWithSecurityParameters( //FIXME RGY Titan currently requires the modifyied template to have the same restriction as the base template template (present) DenmInd mw_denmIndWithSecurityParameters( template (present) DENM p_denMsg, template (present) DENM p_denMsg, template Bit256 p_ssp := *, template Bit256 p_ssp := *, template UInt32 p_its_aid := c_its_aid_DENM template UInt32 p_its_aid := c_its_aid_DENM Loading @@ -119,7 +123,9 @@ module LibItsDenm_Templates { * @param p_btpDestinationPort BTP destination port value * @param p_btpDestinationPort BTP destination port value * @param p_btpInfo BTP destination port info value (if BTP-B) or BTP source port value (if BTP-A) * @param p_btpInfo BTP destination port info value (if BTP-B) or BTP source port value (if BTP-A) */ */ template DenmInd mw_denmIndWithBtpParameters ( //FIXME RGY template restriction can be the same as its base template: template is not used currently // template DenmInd mw_denmIndWithBtpParameters ( template(present) DenmInd mw_denmIndWithBtpParameters ( template (present) DENM p_denMsg, template (present) DENM p_denMsg, in template UInt16 p_btpDestinationPort := *, in template UInt16 p_btpDestinationPort := *, in template UInt16 p_btpInfo := * in template UInt16 p_btpInfo := * Loading Loading @@ -350,8 +356,8 @@ module LibItsDenm_Templates { template (value) Longitude p_longitude := f_getTsLongitude(), template (value) Longitude p_longitude := f_getTsLongitude(), template (value) Latitude p_latitude := f_getTsLatitude() template (value) Latitude p_latitude := f_getTsLatitude() ) := { ) := { longitude := p_longitude, latitude := p_latitude, latitude := p_latitude, longitude := p_longitude, positionConfidenceEllipse := m_posConfidenceEllipse, positionConfidenceEllipse := m_posConfidenceEllipse, altitude := m_altitude altitude := m_altitude } } Loading ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +11 −6 Original line number Original line Diff line number Diff line Loading @@ -911,8 +911,9 @@ module LibItsGeoNetworking_Functions { position := p_positionValue position := p_positionValue }; }; } } //FIXME RGY Titan doesn't support @deterministic yet function @deterministic f_fillTimestamp(inout LongPosVector v_vector) // function @deterministic f_fillTimestamp(inout LongPosVector v_vector) function f_fillTimestamp(inout LongPosVector v_vector) return LongPosVector { return LongPosVector { if (v_vector.timestamp_ == 0) { if (v_vector.timestamp_ == 0) { v_vector.timestamp_ := f_computeGnTimestamp(); v_vector.timestamp_ := f_computeGnTimestamp(); Loading Loading @@ -1588,12 +1589,12 @@ module LibItsGeoNetworking_Functions { var LongPosVector v_repDstPosVector; var LongPosVector v_repDstPosVector; [vc_gnDefaultActive] a_receiveLsRequest(p_reqSeqNumber, p_mid, v_repDstPosVector) { [vc_gnDefaultActive] a_receiveLsRequest(p_reqSeqNumber, p_mid, v_repDstPosVector) { f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(m_geoNwPdu( f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(m_geoNwPdu( m_geoNwLsReplyPacket( m_geoNwLsReplyPacket( p_repSrcPosVector, p_repSrcPosVector, f_longPosVector2ShortPosVector(v_repDstPosVector), f_longPosVector2ShortPosVector(v_repDstPosVector), vc_localSeqNumber vc_localSeqNumber )))); ))))); } } } } Loading Loading @@ -1690,6 +1691,7 @@ module LibItsGeoNetworking_Functions { var GeoNetworkingInd v_msg; var GeoNetworkingInd v_msg; f_sendGeoNetMessage( f_sendGeoNetMessage( valueof( m_geoNwReq_linkLayerBroadcast( m_geoNwReq_linkLayerBroadcast( m_geoNwPdu( m_geoNwPdu( m_geoNwLsRequestPacket( m_geoNwLsRequestPacket( Loading @@ -1699,6 +1701,7 @@ module LibItsGeoNetworking_Functions { ) ) ) ) ) ) ) ); ); tc_ac.start; tc_ac.start; Loading Loading @@ -2521,7 +2524,9 @@ module LibItsGeoNetworking_Functions { mw_geoNwSecPdu( mw_geoNwSecPdu( p_InSecMsg, p_InSecMsg, mw_geoNwAnyPacket_withPayload(?) mw_geoNwAnyPacket_withPayload(?) ))) -> value (v_geoNw) { //FIXME RGY Titan doesn't support storing list at the moment // ))) -> value (v_geoNw) { ))) -> value v_geoNw { p_received := f_getSecuredMessage(v_geoNw.msgIn); p_received := f_getSecuredMessage(v_geoNw.msgIn); } } } } Loading Loading @@ -2779,7 +2784,7 @@ module LibItsGeoNetworking_Functions { f_HashedId3FromHashedId8( f_HashedId3FromHashedId8( valueof(p_digest) valueof(p_digest) )) )) }, } "" "" ); ); Loading ttcn/GeoNetworking/LibItsGeoNetworking_Templates.ttcn +50 −44 Original line number Original line Diff line number Diff line Loading @@ -109,7 +109,7 @@ module LibItsGeoNetworking_Templates { geoUnicast := { geoUnicast := { gnAddress := p_destinationGnAddr, gnAddress := p_destinationGnAddr, lifetime := c_lifetime, lifetime := c_lifetime, trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here } } } } Loading Loading @@ -186,7 +186,7 @@ module LibItsGeoNetworking_Templates { geoBroadcast := { geoBroadcast := { shape := p_geoArea.shape, shape := p_geoArea.shape, lifetime := c_lifetime, lifetime := c_lifetime, trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), reserved := c_uInt24Zero, reserved := c_uInt24Zero, area := p_geoArea.area, area := p_geoArea.area, payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here Loading Loading @@ -246,7 +246,7 @@ module LibItsGeoNetworking_Templates { geoAnycast := { geoAnycast := { shape := p_geoArea.shape, shape := p_geoArea.shape, lifetime := c_lifetime, lifetime := c_lifetime, trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), reserved := c_uInt24Zero, reserved := c_uInt24Zero, area := p_geoArea.area, area := p_geoArea.area, payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here Loading Loading @@ -288,7 +288,7 @@ module LibItsGeoNetworking_Templates { */ */ template (value) UtGnTrigger m_generateShbMessage := { template (value) UtGnTrigger m_generateShbMessage := { shb := { shb := { trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here } } } } Loading Loading @@ -326,7 +326,7 @@ module LibItsGeoNetworking_Templates { tsb := { tsb := { nbHops := 10, nbHops := 10, lifetime := c_lifetime, lifetime := c_lifetime, trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here } } } } Loading Loading @@ -376,7 +376,7 @@ module LibItsGeoNetworking_Templates { template (value) BeaconHeader p_beaconHeader template (value) BeaconHeader p_beaconHeader ) := { ) := { startBeaconing := { startBeaconing := { beaconPacket := m_geoNwPdu(m_geoNwBeaconPacket(p_beaconHeader.srcPosVector), -, c_hopLimit1) beaconPacket := m_geoNwPdu(valueof(m_geoNwBeaconPacket(valueof(p_beaconHeader.srcPosVector))), -, c_hopLimit1) } } } } Loading Loading @@ -419,7 +419,7 @@ module LibItsGeoNetworking_Templates { integer p_numberOfNeighbour integer p_numberOfNeighbour ) := { ) := { startBeaconingMultipleNeighbour := { startBeaconingMultipleNeighbour := { beaconPacket := m_geoNwPdu(m_geoNwBeaconPacket(p_beaconHeader.srcPosVector), -, c_hopLimit1), beaconPacket := m_geoNwPdu(valueof(m_geoNwBeaconPacket(valueof(p_beaconHeader.srcPosVector))), -, c_hopLimit1), numberOfNeighbour := p_numberOfNeighbour numberOfNeighbour := p_numberOfNeighbour } } } } Loading Loading @@ -539,11 +539,11 @@ module LibItsGeoNetworking_Templates { in template (value) CommonHeader p_commonHeader, in template (value) CommonHeader p_commonHeader, in template (value) ExtendedHeader p_extHeader in template (value) ExtendedHeader p_extHeader ) := { ) := { packet := { packet := valueof({ commonHeader := p_commonHeader, commonHeader := p_commonHeader, extendedHeader := p_extHeader, extendedHeader := p_extHeader, payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) }, }), securedMsg := omit securedMsg := omit } } Loading Loading @@ -577,7 +577,7 @@ module LibItsGeoNetworking_Templates { in template (value) octetstring p_payload in template (value) octetstring p_payload ) modifies m_geoNwPacket := { ) modifies m_geoNwPacket := { packet := { packet := { payload := f_adaptPayload_m(p_payload) payload := valueof(f_adaptPayload_m(p_payload)) } } } } Loading Loading @@ -623,7 +623,9 @@ module LibItsGeoNetworking_Templates { * * * @see mw_geoNwPacket * @see mw_geoNwPacket */ */ template GeoNetworkingPacket mw_geoNwPduAnyPayload( //FIXME RGY template restriction can be the same as its base template: template is not used currently // template GeoNetworkingPacket mw_geoNwPduAnyPayload( template(present) GeoNetworkingPacket mw_geoNwPduAnyPayload( in template (present) CommonHeader p_commonHeader, in template (present) CommonHeader p_commonHeader, in template (present) ExtendedHeader p_extHeader in template (present) ExtendedHeader p_extHeader ) modifies mw_geoNwPacket := { ) modifies mw_geoNwPacket := { Loading @@ -640,7 +642,9 @@ module LibItsGeoNetworking_Templates { * * * @see mw_geoNwPacket * @see mw_geoNwPacket */ */ template GeoNetworkingPacket mw_geoNwPduWithOctetstringPayload( //FIXME RGY template restriction can be the same as its base template: template is not used currently // template GeoNetworkingPacket mw_geoNwPduWithOctetstringPayload( template(present) GeoNetworkingPacket mw_geoNwPduWithOctetstringPayload( in template (present) CommonHeader p_commonHeader, in template (present) CommonHeader p_commonHeader, in template (present) ExtendedHeader p_extHeader, in template (present) ExtendedHeader p_extHeader, in template (present) octetstring p_payload in template (present) octetstring p_payload Loading @@ -658,7 +662,9 @@ module LibItsGeoNetworking_Templates { * * * @see mw_geoNwPacket * @see mw_geoNwPacket */ */ template GeoNetworkingPacket mw_geoNwPduWithPayload( //FIXME RGY template restriction can be the same as its base template: used in TC_SEC_ITSS_SND_CAM_02_01_BV only, where is called with parameters // template GeoNetworkingPacket mw_geoNwPduWithPayload( template(present) GeoNetworkingPacket mw_geoNwPduWithPayload( in template (present) CommonHeader p_commonHeader, in template (present) CommonHeader p_commonHeader, in template (present) ExtendedHeader p_extHeader, in template (present) ExtendedHeader p_extHeader, in template (present) Payload p_payload in template (present) Payload p_payload Loading Loading @@ -716,18 +722,18 @@ module LibItsGeoNetworking_Templates { in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) TrafficClass p_trafficClass := m_trafficClass in template (value) TrafficClass p_trafficClass := m_trafficClass ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_geoUnicastHeaderType, m_geoUnicastHeaderType, p_trafficClass, p_trafficClass, p_hopLimit p_hopLimit ), )), extendedHeader := m_geoUnicastHeader( extendedHeader := valueof(m_geoUnicastHeader( p_sourceLongPosVec, p_sourceLongPosVec, p_destinationShortPosVec, p_destinationShortPosVec, p_seqNumber p_seqNumber ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -827,18 +833,18 @@ module LibItsGeoNetworking_Templates { in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) TrafficClass p_trafficClass := m_trafficClass in template (value) TrafficClass p_trafficClass := m_trafficClass ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_geoAnycastHeaderType(p_anycastArea.geoAnycastSubType), m_geoAnycastHeaderType(valueof(p_anycastArea.geoAnycastSubType)), p_trafficClass, p_trafficClass, p_hopLimit p_hopLimit ), )), extendedHeader := m_geoAnycastHeader( extendedHeader := valueof(m_geoAnycastHeader( p_sourceLongPosVec, p_sourceLongPosVec, p_seqNumber, p_seqNumber, p_anycastArea p_anycastArea ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -941,18 +947,18 @@ module LibItsGeoNetworking_Templates { in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) TrafficClass p_trafficClass := m_trafficClass in template (value) TrafficClass p_trafficClass := m_trafficClass ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_geoBroadcastHeaderType(p_broadcastArea.geoBroadcastSubType), m_geoBroadcastHeaderType(valueof(p_broadcastArea.geoBroadcastSubType)), p_trafficClass, p_trafficClass, p_hopLimit p_hopLimit ), )), extendedHeader := m_geoBroadcastHeader( extendedHeader := valueof(m_geoBroadcastHeader( p_sourceLongPosVec, p_sourceLongPosVec, p_seqNumber, p_seqNumber, p_broadcastArea p_broadcastArea ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -1244,16 +1250,16 @@ module LibItsGeoNetworking_Templates { template (value) GnNonSecuredPacket m_geoNwShbPacket( template (value) GnNonSecuredPacket m_geoNwShbPacket( in template (value) LongPosVector p_sourceLongPosVec in template (value) LongPosVector p_sourceLongPosVec ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_shbHeaderType, m_shbHeaderType, m_trafficClass, m_trafficClass, c_defaultHopLimit c_defaultHopLimit ), )), extendedHeader := m_shbHeader( extendedHeader := valueof(m_shbHeader( p_sourceLongPosVec p_sourceLongPosVec ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -1290,17 +1296,17 @@ module LibItsGeoNetworking_Templates { in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) TrafficClass p_trafficClass := m_trafficClass in template (value) TrafficClass p_trafficClass := m_trafficClass ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_tsbHeaderType, m_tsbHeaderType, p_trafficClass, p_trafficClass, p_hopLimit p_hopLimit ), )), extendedHeader := m_tsbHeader( extendedHeader := valueof(m_tsbHeader( p_seqNumber, p_seqNumber, p_sourceLongPosVec p_sourceLongPosVec ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -1776,7 +1782,7 @@ module LibItsGeoNetworking_Templates { in template (value) UInt16 p_seqNumber, in template (value) UInt16 p_seqNumber, in template (value) GeoBroadcastArea p_broadcastArea in template (value) GeoBroadcastArea p_broadcastArea ) := { ) := { geoBroadcastHeader := { geoBroadcastHeader := valueof({ seqNumber := p_seqNumber, seqNumber := p_seqNumber, reserved := c_uInt8Zero, reserved := c_uInt8Zero, srcPosVector := p_sourceLongPosVec, srcPosVector := p_sourceLongPosVec, Loading @@ -1786,7 +1792,7 @@ module LibItsGeoNetworking_Templates { distanceB := p_broadcastArea.geoBroadcastArea.distanceB, distanceB := p_broadcastArea.geoBroadcastArea.distanceB, angle := p_broadcastArea.geoBroadcastArea.angle, angle := p_broadcastArea.geoBroadcastArea.angle, reserved2 := c_uInt24Zero reserved2 := c_uInt24Zero } }) } } /** /** Loading Loading @@ -1885,7 +1891,7 @@ module LibItsGeoNetworking_Templates { in template (value) UInt16 p_seqNumber, in template (value) UInt16 p_seqNumber, in template (value) GeoAnycastArea p_anycastArea in template (value) GeoAnycastArea p_anycastArea ) := { ) := { geoAnycastHeader := { geoAnycastHeader := valueof({ seqNumber := p_seqNumber, seqNumber := p_seqNumber, reserved := c_uInt8Zero, reserved := c_uInt8Zero, srcPosVector := p_sourceLongPosVec, srcPosVector := p_sourceLongPosVec, Loading @@ -1895,7 +1901,7 @@ module LibItsGeoNetworking_Templates { distanceB := p_anycastArea.geoAnycastArea.distanceB, distanceB := p_anycastArea.geoAnycastArea.distanceB, angle := p_anycastArea.geoAnycastArea.angle, angle := p_anycastArea.geoAnycastArea.angle, reserved2 := c_uInt24Zero reserved2 := c_uInt24Zero } }) } } /** /** Loading ttcn/IVIM/LibItsIvim_Functions.ttcn +1 −1 Original line number Original line Diff line number Diff line Loading @@ -373,7 +373,7 @@ module LibItsIvim_Functions { var FncRetCode v_ret := e_success; var FncRetCode v_ret := e_success; if (valueof(p_trigger) == e_ets) { if (valueof(p_trigger) == e_ets) { f_sendIviMessage(m_ivimStructureCancellation(p_iviIdentificationNumber)); f_sendIviMessage(valueof(m_ivimStructureCancellation(p_iviIdentificationNumber))); f_sleep(PX_TNOAC); f_sleep(PX_TNOAC); } } else { else { Loading Loading
ttcn/DENM/LibItsDenm_Functions.ttcn +3 −1 Original line number Original line Diff line number Diff line Loading @@ -550,7 +550,9 @@ module LibItsDenm_Functions { ) ) ); ); return valueof(p_denm.management).actionID; //FIXME RGY Titan doesn't support dot notation after valueof at the moment // return valueof(p_denm.management).actionID; return valueof(p_denm.management.actionID); } } } // end sendFunctions } // end sendFunctions Loading
ttcn/DENM/LibItsDenm_Templates.ttcn +10 −4 Original line number Original line Diff line number Diff line Loading @@ -23,6 +23,7 @@ module LibItsDenm_Templates { import from LibItsCommon_TypesAndValues all; import from LibItsCommon_TypesAndValues all; import from LibItsCommon_Functions all; import from LibItsCommon_Functions all; import from LibItsCommon_Pixits all; import from LibItsCommon_Pixits all; import from LibItsCommon_ASN1_NamedNumbers all; // LibItsDenm // LibItsDenm import from LibItsDenm_TestSystem all; import from LibItsDenm_TestSystem all; Loading Loading @@ -83,7 +84,9 @@ module LibItsDenm_Templates { * @param p_gnLifetime GN packet lifetime value (ms) * @param p_gnLifetime GN packet lifetime value (ms) * @param p_gnTrafficClass GN traffic class value * @param p_gnTrafficClass GN traffic class value */ */ template DenmInd mw_denmIndWithGnParameters ( //FIXME RGY template restriction can be the same as its base template: used in receiving operations only, where single "omit" is not allowed // template DenmInd mw_denmIndWithGnParameters ( template(present) DenmInd mw_denmIndWithGnParameters ( template (present) DENM p_denMsg, template (present) DENM p_denMsg, in template UInt8 p_gnNextHeader := *, in template UInt8 p_gnNextHeader := *, in template UInt8 p_gnHeaderType := *, in template UInt8 p_gnHeaderType := *, Loading @@ -104,7 +107,8 @@ module LibItsDenm_Templates { * @param p_ssp SSP security parameter * @param p_ssp SSP security parameter * @param p_its_aid ITS-AID value * @param p_its_aid ITS-AID value */ */ template DenmInd mw_denmIndWithSecurityParameters( //FIXME RGY Titan currently requires the modifyied template to have the same restriction as the base template template (present) DenmInd mw_denmIndWithSecurityParameters( template (present) DENM p_denMsg, template (present) DENM p_denMsg, template Bit256 p_ssp := *, template Bit256 p_ssp := *, template UInt32 p_its_aid := c_its_aid_DENM template UInt32 p_its_aid := c_its_aid_DENM Loading @@ -119,7 +123,9 @@ module LibItsDenm_Templates { * @param p_btpDestinationPort BTP destination port value * @param p_btpDestinationPort BTP destination port value * @param p_btpInfo BTP destination port info value (if BTP-B) or BTP source port value (if BTP-A) * @param p_btpInfo BTP destination port info value (if BTP-B) or BTP source port value (if BTP-A) */ */ template DenmInd mw_denmIndWithBtpParameters ( //FIXME RGY template restriction can be the same as its base template: template is not used currently // template DenmInd mw_denmIndWithBtpParameters ( template(present) DenmInd mw_denmIndWithBtpParameters ( template (present) DENM p_denMsg, template (present) DENM p_denMsg, in template UInt16 p_btpDestinationPort := *, in template UInt16 p_btpDestinationPort := *, in template UInt16 p_btpInfo := * in template UInt16 p_btpInfo := * Loading Loading @@ -350,8 +356,8 @@ module LibItsDenm_Templates { template (value) Longitude p_longitude := f_getTsLongitude(), template (value) Longitude p_longitude := f_getTsLongitude(), template (value) Latitude p_latitude := f_getTsLatitude() template (value) Latitude p_latitude := f_getTsLatitude() ) := { ) := { longitude := p_longitude, latitude := p_latitude, latitude := p_latitude, longitude := p_longitude, positionConfidenceEllipse := m_posConfidenceEllipse, positionConfidenceEllipse := m_posConfidenceEllipse, altitude := m_altitude altitude := m_altitude } } Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn +11 −6 Original line number Original line Diff line number Diff line Loading @@ -911,8 +911,9 @@ module LibItsGeoNetworking_Functions { position := p_positionValue position := p_positionValue }; }; } } //FIXME RGY Titan doesn't support @deterministic yet function @deterministic f_fillTimestamp(inout LongPosVector v_vector) // function @deterministic f_fillTimestamp(inout LongPosVector v_vector) function f_fillTimestamp(inout LongPosVector v_vector) return LongPosVector { return LongPosVector { if (v_vector.timestamp_ == 0) { if (v_vector.timestamp_ == 0) { v_vector.timestamp_ := f_computeGnTimestamp(); v_vector.timestamp_ := f_computeGnTimestamp(); Loading Loading @@ -1588,12 +1589,12 @@ module LibItsGeoNetworking_Functions { var LongPosVector v_repDstPosVector; var LongPosVector v_repDstPosVector; [vc_gnDefaultActive] a_receiveLsRequest(p_reqSeqNumber, p_mid, v_repDstPosVector) { [vc_gnDefaultActive] a_receiveLsRequest(p_reqSeqNumber, p_mid, v_repDstPosVector) { f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(m_geoNwPdu( f_sendGeoNetMessage(valueof(m_geoNwReq_linkLayerBroadcast(m_geoNwPdu( m_geoNwLsReplyPacket( m_geoNwLsReplyPacket( p_repSrcPosVector, p_repSrcPosVector, f_longPosVector2ShortPosVector(v_repDstPosVector), f_longPosVector2ShortPosVector(v_repDstPosVector), vc_localSeqNumber vc_localSeqNumber )))); ))))); } } } } Loading Loading @@ -1690,6 +1691,7 @@ module LibItsGeoNetworking_Functions { var GeoNetworkingInd v_msg; var GeoNetworkingInd v_msg; f_sendGeoNetMessage( f_sendGeoNetMessage( valueof( m_geoNwReq_linkLayerBroadcast( m_geoNwReq_linkLayerBroadcast( m_geoNwPdu( m_geoNwPdu( m_geoNwLsRequestPacket( m_geoNwLsRequestPacket( Loading @@ -1699,6 +1701,7 @@ module LibItsGeoNetworking_Functions { ) ) ) ) ) ) ) ); ); tc_ac.start; tc_ac.start; Loading Loading @@ -2521,7 +2524,9 @@ module LibItsGeoNetworking_Functions { mw_geoNwSecPdu( mw_geoNwSecPdu( p_InSecMsg, p_InSecMsg, mw_geoNwAnyPacket_withPayload(?) mw_geoNwAnyPacket_withPayload(?) ))) -> value (v_geoNw) { //FIXME RGY Titan doesn't support storing list at the moment // ))) -> value (v_geoNw) { ))) -> value v_geoNw { p_received := f_getSecuredMessage(v_geoNw.msgIn); p_received := f_getSecuredMessage(v_geoNw.msgIn); } } } } Loading Loading @@ -2779,7 +2784,7 @@ module LibItsGeoNetworking_Functions { f_HashedId3FromHashedId8( f_HashedId3FromHashedId8( valueof(p_digest) valueof(p_digest) )) )) }, } "" "" ); ); Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Templates.ttcn +50 −44 Original line number Original line Diff line number Diff line Loading @@ -109,7 +109,7 @@ module LibItsGeoNetworking_Templates { geoUnicast := { geoUnicast := { gnAddress := p_destinationGnAddr, gnAddress := p_destinationGnAddr, lifetime := c_lifetime, lifetime := c_lifetime, trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here } } } } Loading Loading @@ -186,7 +186,7 @@ module LibItsGeoNetworking_Templates { geoBroadcast := { geoBroadcast := { shape := p_geoArea.shape, shape := p_geoArea.shape, lifetime := c_lifetime, lifetime := c_lifetime, trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), reserved := c_uInt24Zero, reserved := c_uInt24Zero, area := p_geoArea.area, area := p_geoArea.area, payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here Loading Loading @@ -246,7 +246,7 @@ module LibItsGeoNetworking_Templates { geoAnycast := { geoAnycast := { shape := p_geoArea.shape, shape := p_geoArea.shape, lifetime := c_lifetime, lifetime := c_lifetime, trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), reserved := c_uInt24Zero, reserved := c_uInt24Zero, area := p_geoArea.area, area := p_geoArea.area, payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here Loading Loading @@ -288,7 +288,7 @@ module LibItsGeoNetworking_Templates { */ */ template (value) UtGnTrigger m_generateShbMessage := { template (value) UtGnTrigger m_generateShbMessage := { shb := { shb := { trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here } } } } Loading Loading @@ -326,7 +326,7 @@ module LibItsGeoNetworking_Templates { tsb := { tsb := { nbHops := 10, nbHops := 10, lifetime := c_lifetime, lifetime := c_lifetime, trafficClass := m_trafficClass, trafficClass := valueof(m_trafficClass), payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here } } } } Loading Loading @@ -376,7 +376,7 @@ module LibItsGeoNetworking_Templates { template (value) BeaconHeader p_beaconHeader template (value) BeaconHeader p_beaconHeader ) := { ) := { startBeaconing := { startBeaconing := { beaconPacket := m_geoNwPdu(m_geoNwBeaconPacket(p_beaconHeader.srcPosVector), -, c_hopLimit1) beaconPacket := m_geoNwPdu(valueof(m_geoNwBeaconPacket(valueof(p_beaconHeader.srcPosVector))), -, c_hopLimit1) } } } } Loading Loading @@ -419,7 +419,7 @@ module LibItsGeoNetworking_Templates { integer p_numberOfNeighbour integer p_numberOfNeighbour ) := { ) := { startBeaconingMultipleNeighbour := { startBeaconingMultipleNeighbour := { beaconPacket := m_geoNwPdu(m_geoNwBeaconPacket(p_beaconHeader.srcPosVector), -, c_hopLimit1), beaconPacket := m_geoNwPdu(valueof(m_geoNwBeaconPacket(valueof(p_beaconHeader.srcPosVector))), -, c_hopLimit1), numberOfNeighbour := p_numberOfNeighbour numberOfNeighbour := p_numberOfNeighbour } } } } Loading Loading @@ -539,11 +539,11 @@ module LibItsGeoNetworking_Templates { in template (value) CommonHeader p_commonHeader, in template (value) CommonHeader p_commonHeader, in template (value) ExtendedHeader p_extHeader in template (value) ExtendedHeader p_extHeader ) := { ) := { packet := { packet := valueof({ commonHeader := p_commonHeader, commonHeader := p_commonHeader, extendedHeader := p_extHeader, extendedHeader := p_extHeader, payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) }, }), securedMsg := omit securedMsg := omit } } Loading Loading @@ -577,7 +577,7 @@ module LibItsGeoNetworking_Templates { in template (value) octetstring p_payload in template (value) octetstring p_payload ) modifies m_geoNwPacket := { ) modifies m_geoNwPacket := { packet := { packet := { payload := f_adaptPayload_m(p_payload) payload := valueof(f_adaptPayload_m(p_payload)) } } } } Loading Loading @@ -623,7 +623,9 @@ module LibItsGeoNetworking_Templates { * * * @see mw_geoNwPacket * @see mw_geoNwPacket */ */ template GeoNetworkingPacket mw_geoNwPduAnyPayload( //FIXME RGY template restriction can be the same as its base template: template is not used currently // template GeoNetworkingPacket mw_geoNwPduAnyPayload( template(present) GeoNetworkingPacket mw_geoNwPduAnyPayload( in template (present) CommonHeader p_commonHeader, in template (present) CommonHeader p_commonHeader, in template (present) ExtendedHeader p_extHeader in template (present) ExtendedHeader p_extHeader ) modifies mw_geoNwPacket := { ) modifies mw_geoNwPacket := { Loading @@ -640,7 +642,9 @@ module LibItsGeoNetworking_Templates { * * * @see mw_geoNwPacket * @see mw_geoNwPacket */ */ template GeoNetworkingPacket mw_geoNwPduWithOctetstringPayload( //FIXME RGY template restriction can be the same as its base template: template is not used currently // template GeoNetworkingPacket mw_geoNwPduWithOctetstringPayload( template(present) GeoNetworkingPacket mw_geoNwPduWithOctetstringPayload( in template (present) CommonHeader p_commonHeader, in template (present) CommonHeader p_commonHeader, in template (present) ExtendedHeader p_extHeader, in template (present) ExtendedHeader p_extHeader, in template (present) octetstring p_payload in template (present) octetstring p_payload Loading @@ -658,7 +662,9 @@ module LibItsGeoNetworking_Templates { * * * @see mw_geoNwPacket * @see mw_geoNwPacket */ */ template GeoNetworkingPacket mw_geoNwPduWithPayload( //FIXME RGY template restriction can be the same as its base template: used in TC_SEC_ITSS_SND_CAM_02_01_BV only, where is called with parameters // template GeoNetworkingPacket mw_geoNwPduWithPayload( template(present) GeoNetworkingPacket mw_geoNwPduWithPayload( in template (present) CommonHeader p_commonHeader, in template (present) CommonHeader p_commonHeader, in template (present) ExtendedHeader p_extHeader, in template (present) ExtendedHeader p_extHeader, in template (present) Payload p_payload in template (present) Payload p_payload Loading Loading @@ -716,18 +722,18 @@ module LibItsGeoNetworking_Templates { in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) TrafficClass p_trafficClass := m_trafficClass in template (value) TrafficClass p_trafficClass := m_trafficClass ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_geoUnicastHeaderType, m_geoUnicastHeaderType, p_trafficClass, p_trafficClass, p_hopLimit p_hopLimit ), )), extendedHeader := m_geoUnicastHeader( extendedHeader := valueof(m_geoUnicastHeader( p_sourceLongPosVec, p_sourceLongPosVec, p_destinationShortPosVec, p_destinationShortPosVec, p_seqNumber p_seqNumber ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -827,18 +833,18 @@ module LibItsGeoNetworking_Templates { in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) TrafficClass p_trafficClass := m_trafficClass in template (value) TrafficClass p_trafficClass := m_trafficClass ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_geoAnycastHeaderType(p_anycastArea.geoAnycastSubType), m_geoAnycastHeaderType(valueof(p_anycastArea.geoAnycastSubType)), p_trafficClass, p_trafficClass, p_hopLimit p_hopLimit ), )), extendedHeader := m_geoAnycastHeader( extendedHeader := valueof(m_geoAnycastHeader( p_sourceLongPosVec, p_sourceLongPosVec, p_seqNumber, p_seqNumber, p_anycastArea p_anycastArea ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -941,18 +947,18 @@ module LibItsGeoNetworking_Templates { in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) TrafficClass p_trafficClass := m_trafficClass in template (value) TrafficClass p_trafficClass := m_trafficClass ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_geoBroadcastHeaderType(p_broadcastArea.geoBroadcastSubType), m_geoBroadcastHeaderType(valueof(p_broadcastArea.geoBroadcastSubType)), p_trafficClass, p_trafficClass, p_hopLimit p_hopLimit ), )), extendedHeader := m_geoBroadcastHeader( extendedHeader := valueof(m_geoBroadcastHeader( p_sourceLongPosVec, p_sourceLongPosVec, p_seqNumber, p_seqNumber, p_broadcastArea p_broadcastArea ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -1244,16 +1250,16 @@ module LibItsGeoNetworking_Templates { template (value) GnNonSecuredPacket m_geoNwShbPacket( template (value) GnNonSecuredPacket m_geoNwShbPacket( in template (value) LongPosVector p_sourceLongPosVec in template (value) LongPosVector p_sourceLongPosVec ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_shbHeaderType, m_shbHeaderType, m_trafficClass, m_trafficClass, c_defaultHopLimit c_defaultHopLimit ), )), extendedHeader := m_shbHeader( extendedHeader := valueof(m_shbHeader( p_sourceLongPosVec p_sourceLongPosVec ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -1290,17 +1296,17 @@ module LibItsGeoNetworking_Templates { in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) UInt8 p_hopLimit := c_defaultHopLimit, in template (value) TrafficClass p_trafficClass := m_trafficClass in template (value) TrafficClass p_trafficClass := m_trafficClass ) := { ) := { commonHeader := m_commonHeader( commonHeader := valueof(m_commonHeader( PX_GN_UPPER_LAYER, PX_GN_UPPER_LAYER, m_tsbHeaderType, m_tsbHeaderType, p_trafficClass, p_trafficClass, p_hopLimit p_hopLimit ), )), extendedHeader := m_tsbHeader( extendedHeader := valueof(m_tsbHeader( p_seqNumber, p_seqNumber, p_sourceLongPosVec p_sourceLongPosVec ), )), payload := f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD")) payload := valueof(f_adaptPayload_m(char2oct("DEFAULT_PAYLOAD"))) } } /** /** Loading Loading @@ -1776,7 +1782,7 @@ module LibItsGeoNetworking_Templates { in template (value) UInt16 p_seqNumber, in template (value) UInt16 p_seqNumber, in template (value) GeoBroadcastArea p_broadcastArea in template (value) GeoBroadcastArea p_broadcastArea ) := { ) := { geoBroadcastHeader := { geoBroadcastHeader := valueof({ seqNumber := p_seqNumber, seqNumber := p_seqNumber, reserved := c_uInt8Zero, reserved := c_uInt8Zero, srcPosVector := p_sourceLongPosVec, srcPosVector := p_sourceLongPosVec, Loading @@ -1786,7 +1792,7 @@ module LibItsGeoNetworking_Templates { distanceB := p_broadcastArea.geoBroadcastArea.distanceB, distanceB := p_broadcastArea.geoBroadcastArea.distanceB, angle := p_broadcastArea.geoBroadcastArea.angle, angle := p_broadcastArea.geoBroadcastArea.angle, reserved2 := c_uInt24Zero reserved2 := c_uInt24Zero } }) } } /** /** Loading Loading @@ -1885,7 +1891,7 @@ module LibItsGeoNetworking_Templates { in template (value) UInt16 p_seqNumber, in template (value) UInt16 p_seqNumber, in template (value) GeoAnycastArea p_anycastArea in template (value) GeoAnycastArea p_anycastArea ) := { ) := { geoAnycastHeader := { geoAnycastHeader := valueof({ seqNumber := p_seqNumber, seqNumber := p_seqNumber, reserved := c_uInt8Zero, reserved := c_uInt8Zero, srcPosVector := p_sourceLongPosVec, srcPosVector := p_sourceLongPosVec, Loading @@ -1895,7 +1901,7 @@ module LibItsGeoNetworking_Templates { distanceB := p_anycastArea.geoAnycastArea.distanceB, distanceB := p_anycastArea.geoAnycastArea.distanceB, angle := p_anycastArea.geoAnycastArea.angle, angle := p_anycastArea.geoAnycastArea.angle, reserved2 := c_uInt24Zero reserved2 := c_uInt24Zero } }) } } /** /** Loading
ttcn/IVIM/LibItsIvim_Functions.ttcn +1 −1 Original line number Original line Diff line number Diff line Loading @@ -373,7 +373,7 @@ module LibItsIvim_Functions { var FncRetCode v_ret := e_success; var FncRetCode v_ret := e_success; if (valueof(p_trigger) == e_ets) { if (valueof(p_trigger) == e_ets) { f_sendIviMessage(m_ivimStructureCancellation(p_iviIdentificationNumber)); f_sendIviMessage(valueof(m_ivimStructureCancellation(p_iviIdentificationNumber))); f_sleep(PX_TNOAC); f_sleep(PX_TNOAC); } } else { else { Loading