Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TTCN-3 Libraries
LibIts
Commits
25999151
Commit
25999151
authored
Sep 02, 2016
by
garciay
Browse files
Add its_aid port information in GeoNetworkingReq
parent
eabdcc57
Changes
2
Hide whitespace changes
Inline
Side-by-side
ttcn/GeoNetworking/LibItsGeoNetworking_Templates.ttcn
View file @
25999151
...
...
@@ -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
...
...
ttcn/GeoNetworking/LibItsGeoNetworking_TestSystem.ttcn
View file @
25999151
...
...
@@ -157,7 +157,8 @@ module LibItsGeoNetworking_TestSystem {
*/
type
record
GeoNetworkingReq
{
GeoNetworkingPdu
msgOut
,
MacAddress
macDestinationAddress
MacAddress
macDestinationAddress
,
UInt32
its_aid
}
}
// end nt2Primitives
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment