Commit 25999151 authored by garciay's avatar garciay
Browse files

Add its_aid port information in GeoNetworkingReq

parent eabdcc57
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -36,21 +36,26 @@ module LibItsGeoNetworking_Templates {
        /**
         * @desc    Send template for GeoNetworking packet (GeonetworkingPort Primitive)
         * @param   p_geoNwMsg GeoNetworking packet to be sent
         * @param   p_its_aid  ITS-AID used in secured mode. Default: 0, means unused
         */
        template (value) GeoNetworkingReq m_geoNwReq_linkLayerBroadcast(
            template (value) GeoNetworkingPdu p_geoNwMsg
        template (omit) GeoNetworkingReq m_geoNwReq_linkLayerBroadcast(
            template (value) GeoNetworkingPdu p_geoNwMsg,
            template (omit) UInt32 p_its_aid := 0
        ) := {
            msgOut                  := p_geoNwMsg,
            macDestinationAddress   := c_llBroadcast            
            macDestinationAddress   := c_llBroadcast,
            its_aid                 := p_its_aid                
        }
        
        /**
         * @desc    Send template for GeoNetworking packet (GeonetworkingPort Primitive)
         * @param   p_geoNwMsg              GeoNetworking packet to be sent
         * @param   p_its_aid               ITS-AID used in secured mode. Default: 0, means unused
         * @param   p_llDestinationAdress   Link-layer destination address
         */
        template (value) GeoNetworkingReq m_geoNwReq_withLinkLayerDestination(
        template (omit) GeoNetworkingReq m_geoNwReq_withLinkLayerDestination(
            template (value) GeoNetworkingPdu p_geoNwMsg,
            template (omit) UInt32 p_its_aid := 0,
            template (value) MacAddress p_llDestinationAdress
        ) modifies m_geoNwReq_linkLayerBroadcast := {
            macDestinationAddress := p_llDestinationAdress
+2 −1
Original line number Diff line number Diff line
@@ -157,7 +157,8 @@ module LibItsGeoNetworking_TestSystem {
             */
            type record GeoNetworkingReq {
                GeoNetworkingPdu    msgOut,
                MacAddress          macDestinationAddress
                MacAddress          macDestinationAddress,
                UInt32              its_aid
            }
            
        } // end nt2Primitives