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
856c17be
Commit
856c17be
authored
13 years ago
by
berge
Browse files
Options
Downloads
Patches
Plain Diff
Fixed port mapping issue
parent
2e364ec1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn
+9
-7
9 additions, 7 deletions
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn
with
9 additions
and
7 deletions
ttcn/GeoNetworking/LibItsGeoNetworking_Functions.ttcn
+
9
−
7
View file @
856c17be
...
...
@@ -11,6 +11,7 @@ module LibItsGeoNetworking_Functions {
import
from
LibCommon_BasicTypesAndValues
all
;
import
from
LibCommon_VerdictControl
{
type
FncRetCode
;}
import
from
LibCommon_Sync
all
;
import
from
LibCommon_Time
all
;
// LibIts
import
from
LibIts_TestSystem
all
;
...
...
@@ -125,7 +126,7 @@ module LibItsGeoNetworking_Functions {
// Connect
connect
(
p_nodeB
:
syncPort
,
self
:
syncPort
);
connect
(
p_nodeD
:
syncPort
,
self
:
syncPort
);
connect
(
self
:
syncPort
,
self
:
syncPort
);
connect
(
self
:
syncPort
,
self
:
sync
Send
Port
);
activate
(
a_cf02Down
(
p_nodeB
,
p_nodeD
));
//Initialze the IUT
...
...
@@ -179,7 +180,7 @@ module LibItsGeoNetworking_Functions {
// Disconnect
disconnect
(
p_nodeB
:
syncPort
,
self
:
syncPort
);
disconnect
(
p_nodeD
:
syncPort
,
self
:
syncPort
);
disconnect
(
self
:
syncPort
,
self
:
syncPort
);
disconnect
(
self
:
syncPort
,
self
:
sync
Send
Port
);
}
// end f_cf02Down
...
...
@@ -218,7 +219,7 @@ module LibItsGeoNetworking_Functions {
// Connect
connect
(
p_nodeB
:
syncPort
,
self
:
syncPort
);
connect
(
p_nodeC
:
syncPort
,
self
:
syncPort
);
connect
(
self
:
syncPort
,
self
:
syncPort
);
connect
(
self
:
syncPort
,
self
:
sync
Send
Port
);
activate
(
a_cf03Down
(
p_nodeB
,
p_nodeC
));
//Initialze the IUT
...
...
@@ -274,7 +275,7 @@ module LibItsGeoNetworking_Functions {
// Disconnect
disconnect
(
p_nodeB
:
syncPort
,
self
:
syncPort
);
disconnect
(
p_nodeC
:
syncPort
,
self
:
syncPort
);
disconnect
(
self
:
syncPort
,
self
:
syncPort
);
disconnect
(
self
:
syncPort
,
self
:
sync
Send
Port
);
}
// end f_cf03Down
...
...
@@ -321,7 +322,7 @@ module LibItsGeoNetworking_Functions {
connect
(
p_nodeB
:
syncPort
,
self
:
syncPort
);
connect
(
p_nodeC
:
syncPort
,
self
:
syncPort
);
connect
(
p_nodeD
:
syncPort
,
self
:
syncPort
);
connect
(
self
:
syncPort
,
self
:
syncPort
);
connect
(
self
:
syncPort
,
self
:
sync
Send
Port
);
activate
(
a_cf04Down
(
p_nodeB
,
p_nodeC
,
p_nodeD
));
//Initialze the IUT
...
...
@@ -386,7 +387,7 @@ module LibItsGeoNetworking_Functions {
disconnect
(
p_nodeB
:
syncPort
,
self
:
syncPort
);
disconnect
(
p_nodeC
:
syncPort
,
self
:
syncPort
);
disconnect
(
p_nodeD
:
syncPort
,
self
:
syncPort
);
disconnect
(
self
:
syncPort
,
self
:
syncPort
);
disconnect
(
self
:
syncPort
,
self
:
sync
Send
Port
);
}
// end f_cf04Down
...
...
@@ -1025,13 +1026,14 @@ module LibItsGeoNetworking_Functions {
*/
function
f_initialState
()
{
var
ItsNt
v_initComponent
:=
ItsNt
.
create
;
var
ItsNt
v_initComponent
:=
ItsNt
.
create
(
"IUT init"
)
;
map
(
v_initComponent
:
utPort
,
system
:
utPort
);
v_initComponent
.
start
(
f_utInitializeIut
(
m_gnInitialize
));
v_initComponent
.
done
;
unmap
(
v_initComponent
:
utPort
,
system
:
utPort
);
f_sleep
(
10.0
);
}
...
...
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