Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LibIts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TTCN-3 Libraries
LibIts
Commits
a1c89e90
Commit
a1c89e90
authored
14 years ago
by
berge
Browse files
Options
Downloads
Patches
Plain Diff
Fixed cyclic redundency issue.
Fixed some template variable issues.
parent
c1a5da28
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ttcn/DENM/LibItsDenm_Functions.ttcn
+1
-1
1 addition, 1 deletion
ttcn/DENM/LibItsDenm_Functions.ttcn
ttcn/DENM/LibItsDenm_Templates.ttcn
+15
-9
15 additions, 9 deletions
ttcn/DENM/LibItsDenm_Templates.ttcn
ttcn/LibIts_Interface.ttcn
+2
-5
2 additions, 5 deletions
ttcn/LibIts_Interface.ttcn
with
18 additions
and
15 deletions
ttcn/DENM/LibItsDenm_Functions.ttcn
+
1
−
1
View file @
a1c89e90
...
...
@@ -130,7 +130,7 @@ module LibItsDenm_Functions {
if
(
p_trigger
==
e_ets
)
{
f_sendDenMessage
(
m_denmReq
(
m_denmWithCause
(
c_dataVersionCancellation
,
p_event
)
m_denmWithCause
(
c_dataVersionCancellation
,
p_event
,
f_getCurrentPosition
(),
f_getStationId
()
)
)
);
}
...
...
This diff is collapsed.
Click to expand it.
ttcn/DENM/LibItsDenm_Templates.ttcn
+
15
−
9
View file @
a1c89e90
...
...
@@ -10,7 +10,6 @@ module LibItsDenm_Templates {
//LibIts
import
from
DENM_PDU_Descriptions
language
"ASN.1:1997"
all
;
import
from
CAM_PDU_Descriptions
language
"ASN.1:1997"
all
;
import
from
LibItsDenm_Functions
all
;
import
from
LibIts_Interface
all
;
import
from
LibItsDenm_TypesAndValues
all
;
...
...
@@ -54,21 +53,25 @@ module LibItsDenm_Templates {
template
DecentralizedEnvironmentalNotificationMessage
m_denmWithCause
(
template
(
value
)
DataVersion
p_dataVersion
,
template
(
value
)
Situation
p_sit
template
(
value
)
Situation
p_sit
,
template
(
value
)
DecentralizedSituationLocation
.
eventPosition
p_eventPosition
,
template
(
value
)
StationID
p_stationId
)
:=
{
management
:=
m_denmMgmtCon
(
p_dataVersion
),
management
:=
m_denmMgmtCon
(
p_dataVersion
,
p_stationId
),
situation
:=
m_denmSitCon
(
p_sit
,
informative
),
location
:=
m_denmSitLoc
(
f_getCurr
entPosition
()
,
p_ev
entPosition
,
m_locationRef
)
}
template
DecentralizedEnvironmentalNotificationMessage
m_denmWithCauseIsNeg
(
template
(
value
)
DataVersion
p_dataVersion
,
template
(
value
)
Situation
p_sit
,
template
(
value
)
DecentralizedSituationLocation
.
eventPosition
p_eventPosition
,
template
(
value
)
StationID
p_stationId
,
template
(
value
)
DecentralizedSituationManagement
.
isNegation
p_isNeg
)
modifies
m_denmWithCause
:=
{
management
:=
m_denmMgmtCon_IsNeg
(
p_dataVersion
,
p_isNeg
)
management
:=
m_denmMgmtCon_IsNeg
(
p_dataVersion
,
p_stationId
,
p_isNeg
)
}
}
// end group DecentralizedEnvironmentalNotificationMessageTemplates
...
...
@@ -76,13 +79,14 @@ module LibItsDenm_Templates {
group
DecentralizedSituationManagementTemplates
{
template
DecentralizedSituationManagement
m_denmMgmtCon
(
template
(
value
)
DataVersion
p_dataVersion
template
(
value
)
DataVersion
p_dataVersion
,
template
(
value
)
StationID
p_stationId
)
:=
{
protocolVersion
:=
c_protocolVersion_DENM
,
messageID
:=
c_messageId
,
generationtime
:=
0
,
//TODO document: 0 indicates that the lower layer should add the time while sending
actionID
:=
{
stationID
:=
f_getS
tationId
()
,
stationID
:=
p_s
tationId
,
sequenceNo
:=
0
},
dataVersion
:=
p_dataVersion
,
...
...
@@ -110,14 +114,16 @@ module LibItsDenm_Templates {
}
template
DecentralizedSituationManagement
m_denmMgmtCon_IsNeg
(
template
(
value
)
DataVersion
p_dataVersion
,
template
(
value
)
DataVersion
p_dataVersion
,
template
(
value
)
StationID
p_stationId
,
template
(
value
)
DecentralizedSituationManagement
.
isNegation
p_isNeg
)
modifies
m_denmMgmtCon
:=
{
isNegation
:=
p_isNeg
}
template
DecentralizedSituationManagement
mw_denmMgmtCon_IsNeg
(
template
(
present
)
DataVersion
p_dataVersion
,
template
(
present
)
DataVersion
p_dataVersion
,
template
(
value
)
StationID
p_stationId
,
template
(
present
)
DecentralizedSituationManagement
.
isNegation
p_isNeg
)
modifies
mw_denmMgmtCon
:=
{
isNegation
:=
p_isNeg
...
...
This diff is collapsed.
Click to expand it.
ttcn/LibIts_Interface.ttcn
+
2
−
5
View file @
a1c89e90
...
...
@@ -10,15 +10,12 @@ module LibIts_Interface {
// LibIts
import
from
LibItsCam_Pixits
all
;
import
from
LibItsGeoNetworking_TypesAndValues
all
;
import
from
CAM_PDU_Descriptions
language
"ASN.1:1997"
all
;
import
from
DENM_PDU_Descriptions
language
"ASN.1:1997"
all
;
// LibCommon
import
from
LibCommon_Time
{
modulepar
all
};
// ASN1 definitions
import
from
CAM_PDU_Descriptions
language
"ASN.1:1997"
all
;
import
from
DENM_PDU_Descriptions
language
"ASN.1:1997"
all
;
group
adapterInterface
{
group
portDefinitions
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment