Commit 3ad95d60 authored by reinaortega's avatar reinaortega
Browse files

Fixed issue on PON_LOS_BV_13 to use lifetime when triggering GeoUnicast packet

parent b0065c84
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -126,6 +126,25 @@ module LibItsGeoNetworking_Templates {
                }
            }
            
			/**
			* @desc    Request IUT to send a GeoUnicast message to a specific destination with specific lifetime with specific payload
			* @param   p_destinationGnAddr Destination of the GeoUnicast message
			* @param   p_lifetime          Lifetime of the GeoUnicast message
			* @param   p_payload           Payload of the GeoUnicast message
			* @see     m_generateGeoUnicastMessage
			*/
		   template UtEvent m_generateGeoUnicastMessageWithLifetimeWithPayload(
			   GN_Address p_destinationGnAddr,
			   integer p_lifetime,
			   octetstring p_payload
		   ) modifies m_generateGeoUnicastMessageWithLifetime := {
			   utGnEvent := {
				   geoUnicast := {
						payload := f_adaptPayload_m(p_payload)
				   }
			   }
		   }
            
            /**
             * @desc    Request IUT to send a GeoBroadcast message to a specific area
             * @param   p_area  Destination area of the message