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
55bc6020
Commit
55bc6020
authored
Dec 03, 2020
by
Yann Garcia
Browse files
Validate AtsSsem against TTwb 1.1.30
parent
382d54ca
Changes
4
Hide whitespace changes
Inline
Side-by-side
ttcn/DENM/LibItsDenm_TypesAndValues.ttcn
View file @
55bc6020
...
...
@@ -9,7 +9,8 @@ module LibItsDenm_TypesAndValues {
//LibCommon
import
from
LibCommon_BasicTypesAndValues
all
;
import
from
LibCommon_DataStrings
all
;
// LibIts
import
from
DENM_PDU_Descriptions
language
"ASN.1:1997"
all
;
import
from
ITS_Container
language
"ASN.1:1997"
all
;
...
...
ttcn/IVIM/LibItsIvim_Templates.ttcn
View file @
55bc6020
...
...
@@ -71,25 +71,6 @@ module LibItsIvim_Templates {
its_aid
:=
*
}
// End of template mw_ivimInd
/**
* @desc Send template for IVI Message (IvimPort Primitive)
* @param p_iviMsg The expected IVI Message
*/
template
(
value
)
IvimInd
m_ivimInd
(
in
template
(
value
)
IVIM
p_iviMsg
)
:=
{
msgIn
:=
p_iviMsg
,
recvTime
:=
omit
,
gnNextHeader
:=
omit
,
gnHeaderType
:=
omit
,
gnHeaderSubtype
:=
omit
,
gnLifetime
:=
omit
,
gnTrafficClass
:=
omit
,
btpDestinationPort
:=
omit
,
btpInfo
:=
omit
,
ssp
:=
omit
,
its_aid
:=
omit
}
// End of template m_ivimInd
/**
* @desc Receive template for IVI Message (IvimPort Primitive)
...
...
@@ -145,21 +126,6 @@ module LibItsIvim_Templates {
its_aid
:=
p_its_aid
}
// End of template mw_ivimIndWithSecurityParameters
/**
* @desc Send template for IVI Message (IvimPort Primitive)
* @param p_iviMsg The expected IVI Message
* @param p_ssp SSP security parameter
* @param p_its_aid ITS-AID value
*/
template
IvimInd
m_ivimIndWithSecurityParameters
(
template
(
value
)
IVIM
p_iviMsg
,
template
Bit256
p_ssp
:=
omit
,
template
UInt32
p_its_aid
:=
omit
)
modifies
m_ivimInd
:=
{
ssp
:=
p_ssp
,
its_aid
:=
p_its_aid
}
// End of template mw_ivimIndWithSecurityParameters
group
utPrimitives
{
/**
...
...
ttcn/SremSsem/LibItsSremSsem_EncdecDeclarations.ttcn
View file @
55bc6020
...
...
@@ -55,5 +55,5 @@ module LibItsSremSsem_EncdecDeclarations {
with {extension "prototype(convert) encode(PER)"}
external function fx_dec_SSM (inout bitstring b, out SignalStatusMessage p) return integer
with {extension "prototype(sliding) decode(PER)"}*/
with {extension "prototype(sliding) decode(PER)"}*/
}
ttcn/SremSsem/LibItsSremSsem_Functions.ttcn
View file @
55bc6020
...
...
@@ -382,6 +382,45 @@ module LibItsSremSsem_Functions {
group
sendFunctions
{
/**
* @desc Sends a SREM message for cancellation
*/
function
f_sendSreMessageForCancellation
()
runs
on
ItsSremSsem
{
// Send SREM cancellation
sremSsemPort
.
send
(
m_sremReq
(
m_sremPdu
(
m_srem
(
m_requestorDescription
(
m_vehicleID
(
f_getIutStationId
()
),
m_requestorType
(
basicVehicle
)
),
{
m_signalRequestPackage
(
m_signalRequest
(
m_intersectionReferenceID
,
17
,
priorityCancellation
,
{
lane
:=
2
}
)
)
}))));
tc_noac
.
start
;
alt
{
[]
sremSsemPort
.
receive
(
mw_ssemInd
)
{
tc_noac
.
stop
;
log
(
"*** "
&
testcasename
()
&
": INCONC: Received SSEM PDU after cancellation. ***"
);
}
[]
tc_noac
.
timeout
{
log
(
"*** "
&
testcasename
()
&
": PASS: No more SSEM PDU received after cancellation. ***"
);
}
}
}
/**
* @desc Sends a SSEM message
* @param p_sendMsg The IVI message to send.
...
...
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