Loading ttcn/GeoNetworking/LibItsGeoNetworking_Templates.ttcn +13 −0 Original line number Diff line number Diff line Loading @@ -309,11 +309,24 @@ module LibItsGeoNetworking_Templates { template (value) UtGnTrigger m_generateTsbMessage := { tsb := { nbHops := 10, lifetime := c_lifetime, trafficClass := m_trafficClass, payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here } } /** * @desc Request IUT to send a TSB message * @param p_lifetime Packet's lifetime */ template (value) UtGnTrigger m_generateTsbMessageWithLifetime( UInt16 p_lifetime ) modifies m_generateTsbMessage := { tsb := { lifetime := p_lifetime } } /** * @desc Request IUT to send a TSB message * @param p_trafficClass TrafficClass of the GeoUnicast message Loading ttcn/GeoNetworking/LibItsGeoNetworking_TypesAndValues.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -960,11 +960,13 @@ module LibItsGeoNetworking_TypesAndValues { /** * @desc UT primitive for IUT to send a SHB packet * @member nbHops Number of Hops * @member lifetime Lifetime of the packet * @member trafficClass Traffic class of the packet * @member payload Payload of the packet */ type record GenerateTSBMessage { UInt8 nbHops, UInt16 lifetime, /* FIXME: ADD in documentation*/ TrafficClass trafficClass, Payload payload } Loading Loading
ttcn/GeoNetworking/LibItsGeoNetworking_Templates.ttcn +13 −0 Original line number Diff line number Diff line Loading @@ -309,11 +309,24 @@ module LibItsGeoNetworking_Templates { template (value) UtGnTrigger m_generateTsbMessage := { tsb := { nbHops := 10, lifetime := c_lifetime, trafficClass := m_trafficClass, payload := { decodedPayload := omit, rawPayload := ''O} // do not use f_adaptPayload_m here } } /** * @desc Request IUT to send a TSB message * @param p_lifetime Packet's lifetime */ template (value) UtGnTrigger m_generateTsbMessageWithLifetime( UInt16 p_lifetime ) modifies m_generateTsbMessage := { tsb := { lifetime := p_lifetime } } /** * @desc Request IUT to send a TSB message * @param p_trafficClass TrafficClass of the GeoUnicast message Loading
ttcn/GeoNetworking/LibItsGeoNetworking_TypesAndValues.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -960,11 +960,13 @@ module LibItsGeoNetworking_TypesAndValues { /** * @desc UT primitive for IUT to send a SHB packet * @member nbHops Number of Hops * @member lifetime Lifetime of the packet * @member trafficClass Traffic class of the packet * @member payload Payload of the packet */ type record GenerateTSBMessage { UInt8 nbHops, UInt16 lifetime, /* FIXME: ADD in documentation*/ TrafficClass trafficClass, Payload payload } Loading