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
efe9787d
Commit
efe9787d
authored
Sep 09, 2016
by
garciay
Browse files
Add support of SPATEM, including one state rotation
parent
940b00d4
Changes
5
Show whitespace changes
Inline
Side-by-side
ttcn/Common/LibItsCommon_Functions.ttcn
View file @
efe9787d
...
...
@@ -16,7 +16,7 @@ module LibItsCommon_Functions {
// LibIts
import
from
LibItsCommon_Pixits
all
;
import
from
ITS_Container
language
"ASN.1:1997"
all
;
import
from
DSRC
language
"ASN.1:1997"
all
;
group
generalFunctions
{
...
...
@@ -88,7 +88,7 @@ module LibItsCommon_Functions {
/**
* @desc Gets the current time since 01/01/2004
* @return Timestamp - current time since 01/01/2004 in milliseconds
* @return Timestamp
Its
- current time since 01/01/2004 in milliseconds
*/
function
f_getCurrentTime
()
return
TimestampIts
{
var
TimestampIts
v_timeStamp
:=
0
;
...
...
@@ -99,6 +99,19 @@ module LibItsCommon_Functions {
return
v_timeStamp
;
}
/**
* @desc Gets the current time since 01/01/2004
* @return TimeMark - tenths of a second in the current or next hour in units of 1/10th second from UTC time
*/
function
f_getCurrentTimeMark
()
return
TimeMark
{
var
TimeMark
v_timeMark
:=
0
;
// log("*** f_getCurrentTimeMark: INFO: calling fx_getCurrentTimeMark() ***");
v_timeMark
:=
fx_getCurrentTimeMark
();
return
v_timeMark
;
}
}
// end generalFunctions
group
itsFunctions
{
...
...
@@ -171,6 +184,12 @@ module LibItsCommon_Functions {
*/
external
function
fx_getCurrentTime
()
return
TimestampIts
;
/**
* @desc Gets the current time since 01/01/2004
* @return TimeMark - tenths of a second in the current or next hour in units of 1/10th second from UTC time
*/
external
function
fx_getCurrentTimeMark
()
return
UInt32
;
/**
* @desc External function to compute distance between two points
* @param p_latitudeA Latitude of first point
...
...
ttcn/DENM/LibItsDenm_Pics.ttcn
View file @
efe9787d
ttcn/GeoNetworking/LibItsGeoNetworking_Pics.ttcn
View file @
efe9787d
...
...
@@ -68,9 +68,10 @@ module LibItsGeoNetworking_Pics {
* @desc GN Security support enabled or disabled
* @see ETSI TS 102 871-2 Table 4
* @remark This PIC is different than PICS_IS_IUT_SECURED.
* When set to true, this PIC indicates that the GeoNetworking is running with security against a secured device
* When set to true, this PIC indicates that the GeoNetworking is running with security ATS
* UtInitialse shall indicate which certificate the IUT shall use
*/
modulepar
boolean
PICS_GN_SECURITY
:=
tru
e
;
modulepar
boolean
PICS_GN_SECURITY
:=
fals
e
;
/**
* @desc Maximum number of retransmissions of LS_REQUEST packets
...
...
@@ -359,6 +360,7 @@ module LibItsGeoNetworking_Pics {
* @desc Is the IUT running in secured mode?
* @remark This PIC is different than PICS_GN_SECURITY.
* When set to true, this PIC indicates that the GeoNetworking is running without security against a secured device
* UtInitialse does not indicate any certificate
*/
modulepar
boolean
PICS_IS_IUT_SECURED
:=
false
;
...
...
ttcn/GeoNetworking/LibItsGeoNetworking_Pixits.ttcn
View file @
efe9787d
...
...
@@ -171,7 +171,7 @@ module LibItsGeoNetworking_Pixits {
* @desc The IUT's upper layer
* @see ETSI TS 102 871-3 Table B.7
*/
modulepar
NextHeader
PX_GN_UPPER_LAYER
:=
e_btp
A
;
modulepar
NextHeader
PX_GN_UPPER_LAYER
:=
e_btp
B
;
/**
* @desc Is BTP header present in IUT's UT indication. Only applicable if PX_GN_UPPER_LAYER == e_btpA or e_btpB.
...
...
ttcn/SremSsem/LibItsSremSsem_Pics.ttcn
View file @
efe9787d
...
...
@@ -25,7 +25,7 @@ module LibItsSremSsem_Pics {
/**
* @desc Is IUT acting as a RSU?
*/
modulepar
boolean
PICS_RSU_ROLE
:=
tru
e
;
modulepar
boolean
PICS_RSU_ROLE
:=
fals
e
;
/**
* @desc Is the IUT running in secured mode?
...
...
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