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
4f86f098
Commit
4f86f098
authored
Sep 01, 2020
by
Yann Garcia
Browse files
Start implementation of TCs for TLC
parent
2103b586
Changes
3
Hide whitespace changes
Inline
Side-by-side
ttcn/SremSsem/LibItsSremSsem_Pics.ttcn
View file @
4f86f098
...
...
@@ -44,4 +44,16 @@ module LibItsSremSsem_Pics {
*/
modulepar
boolean
PICS_SSEM_RECEPTION
:=
true
;
/**
* @desc Support for public transport vehicle
* @see ETSI TS 103 191-1 Table TODO
*/
modulepar
boolean
PICS_PUBLIC_TRANSPORT
:=
true
;
/**
* @desc Support for TODO
* @see ETSI TS 103 191-1 Table TODO
*/
modulepar
boolean
PICS_SREM_HAS_TIMING
:=
true
;
}
// end LibItsSremSsem_Pics
ttcn/SremSsem/LibItsSremSsem_Pixits.ttcn
View file @
4f86f098
...
...
@@ -22,7 +22,7 @@ module LibItsSremSsem_Pixits {
import
from
LibItsSremSsem_TypesAndValues
all
;
/**
* @desc MsgCount for
MAP
EM sending
* @desc MsgCount for
SR
EM sending
* @see ETSI TS 103 191-3 Table B.9
*/
modulepar
BasicVehicleRole
PX_BASICVEHICLEROLE
:=
emergency
;
...
...
ttcn/SremSsem/LibItsSremSsem_Templates.ttcn
View file @
4f86f098
...
...
@@ -467,23 +467,70 @@ module LibItsSremSsem_Templates {
requests
:=
*
,
requestor
:=
?
,
regional
:=
*
}
}
// End of template mw_defaultSrem
/**
* @desc Receive template for SREM Message with no LayerType
*/
template
(
present
)
SignalRequestMessage
mw_sremWellFormatted
modifies
mw_defaultSrem
:=
{
}
template
(
present
)
SignalRequestMessage
mw_sremWellFormatted
(
template
(
present
)
RequestorDescription
p_requestor
:=
?
,
template
MinuteOfTheYear
p_timeStamp
:=
*
,
template
DSecond
p_second
:=
*
)
modifies
mw_defaultSrem
:=
{
timeStamp
:=
p_timeStamp
,
second
:=
p_second
,
requestor
:=
p_requestor
}
// End of template mw_sremWellFormatted
template
(
present
)
SignalRequestMessage
mw_srem_sequenceNumber
(
in
MsgCount
p_sequenceNumber
template
(
present
)
MsgCount
p_sequenceNumber
:=
?
)
modifies
mw_
sremWellFormatted
:=
{
modifies
mw_
defaultSrem
:=
{
sequenceNumber
:=
p_sequenceNumber
}
}
// End of template mw_srem_sequenceNumber
}
// End of group sremTemplatesRecv
template
(
present
)
RequestorDescription
mw_requestorDescription
(
template
(
present
)
VehicleID
p_id
:=
?
,
template
RequestorType
p_type
:=
*
,
template
RequestorPositionVector
p_position
:=
*
,
template
TransitVehicleStatus
p_transitStatus
:=
*
,
template
TransitVehicleOccupancy
p_transitOccupancy
:=
*
,
template
DeltaTime
p_transitSchedule
:=
*
)
:=
{
id
:=
p_id
,
// The ID used in the BSM or CAM of the requestor
type_
:=
p_type
,
// Information regarding all type and class data about the requesting vehicle
position
:=
p_position
,
// The location of the requesting vehicle
name
:=
*
,
// A human readable name for debugging use
routeName
:=
*
,
// A string for transit operations use
transitStatus
:=
p_transitStatus
,
// current vehicle state (loading, etc.)
transitOccupancy
:=
p_transitOccupancy
,
// current vehicle occupancy
transitSchedule
:=
p_transitSchedule
,
// current vehicle schedule adherence
regional
:=
*
}
// End of template mw_requestorDescription
template
(
present
)
RequestorPositionVector
mw_requestor_position
(
template
(
present
)
Position3D
p_position
:=
?
)
:=
{
position
:=
p_position
,
heading
:=
*
,
speed
:=
*
}
// End of template mw_requestor_position
template
RequestorType
mw_requestorType
(
template
(
present
)
BasicVehicleRole
p_role
:=
?
,
template
RequestSubRole
p_subrole
:=
*
,
template
RequestImportanceLevel
p_request
:=
*
)
:=
{
role
:=
p_role
,
// Basic role of this user at this time
subrole
:=
p_subrole
,
// A local list with role based items
request
:=
p_request
,
// A local list with request items
iso3883
:=
*
,
hpmsType
:=
*
,
// HPMS classification types
regional
:=
*
}
// End of template mw_requestorType
}
// End of group sremTemplates
group
ssemTemplates
{
...
...
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