Commit 25999151 authored by garciay's avatar garciay
Browse files

Add its_aid port information in GeoNetworkingReq

parent eabdcc57
......@@ -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
......
......@@ -157,7 +157,8 @@ module LibItsGeoNetworking_TestSystem {
*/
type record GeoNetworkingReq {
GeoNetworkingPdu msgOut,
MacAddress macDestinationAddress
MacAddress macDestinationAddress,
UInt32 its_aid
}
} // end nt2Primitives
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment