Commit 9c7eb695 authored by tepelmann's avatar tepelmann
Browse files

Implemented

	TC_DEN_MSGF_BV_01-02,
	TC_DEN_EVGN_BV_01-15,
	TC_DEN_SSCI_BV_01-03,
	TC_DEN_TDEV_BV_01,
	TC_DEN_TNEV_BV_01-04,
	TC_DEN_DRCX_BV_01-04
Added TODOs.
Trigger and preamble functions are just dummy implementations.
Resend of messages not yet handled in TTCN-3.
parent ec253b66
Loading
Loading
Loading
Loading
+11 −13
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ DEFINITIONS AUTOMATIC TAGS ::=
BEGIN

IMPORTS 
    ProfileParameters, StationID 
    Latitude, Longitude, ProfileParameters, StationID 
FROM CAM-PDU-Descriptions { itu-t (0) identified-organization (4) etsi (0) itsDomain (5) wg1 (1) ts (102637) cam (2) version1 (1) };

--STF405: doubled defined, renamed
@@ -32,7 +32,7 @@ DecentralizedSituationManagement::= SEQUENCE {
	-- STF405: changed inline definition to explicit
	-- dataVersion	INTEGER(0..255),
	dataVersion	DataVersion,  	-- 1 byte
	-- time when the DENM is deleted from the DEN management and the inforamtion related to the event is set as invalid.. If it is not provided, it indicates that the expiry time is unkown by the originator ITS station	
	-- time when the DENM is deleted from the DEN management and the information related to the event is set as invalid.. If it is not provided, it indicates that the expiry time is unkown by the originator ITS station	
	expiryTime	TimeStamp  	OPTIONAL, 	-- 6 byte
	frequency	INTEGER (0..255)	OPTIONAL, 	--1 byte
	-- probability of the detected event to  be true, varies  from 0 to 100, with maximum value as full reliability
@@ -137,7 +137,15 @@ Frenquency ::= INTEGER (0..255)

--STF405: removed OPTIONAL, as it is syntactically incorrect
--TrafficFlowEffect ::= 	INTEGER(0..7)	OPTIONAL
TrafficFlowEffect ::= 	INTEGER(0..7)
TrafficFlowEffect ::= 	INTEGER {
    trafficFlowUnknown(1), 
    freeTrafficFlow(2),
    slowTraffic(3),
    heavyTraffic(4),
    queuingTraffic(5),
    stationaryTraffic(6),
    noTrafficFlow(7)
} (0..7)

Situation ::= SEQUENCE {
	cause 		CauseCode, 	-- 1 byte
@@ -221,16 +229,6 @@ RefPosition ::= SEQUENCE {
	direction	Direction	OPTIONAL	-- 2 bytes
}

Latitude ::= SEQUENCE {
	isSouth 	BOOLEAN,              	-- true if on southern hemisphere (sign flag)
	degree  	INTEGER (0..900000000) 	-- multiples of 0.1 microdegree
} 

Longitude ::= SEQUENCE {
	isEast 	BOOLEAN,                 -- true if east of 0-meridian (sign flag)
  	degree 	 INTEGER (0..1800000000) -- multiples of 0.1 microdegree
}

Altitude ::= INTEGER (-10000..16767215) 	-- multiples of 0.1 m

PositionAccuracy ::= OCTET STRING (SIZE(4))