management DecentralizedSituationManagement, -- container with DEN management and version control
situation DecentralizedSituation, -- container with event description, incl. type, severity
location DecentralizedSituationLocation -- container with event location, location referencing with more detailed location description and the relevance area
}
DecentralizedSituationManagement::= SEQUENCE {
-- protocol version number of the DENM
protocolVersionDENM INTEGER (0..255),
-- unique message type identifier assigned to the DENM
messageID MessageID, -- 1 byte
-- time at which an originator ITS station generates the DENM
generationtime TimeStamp, -- 6 byte
-- unique identifier about an event from one originator ITS station, combination of node ID and a sequence number
actionID ActionID, -- 6 byte
-- version of the DENM indicating updates from the same originator ITS station; value of 255 is used for the cancellation message sent from the originator ITS station
dataVersion INTEGER(0..255), -- 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
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
reliability INTEGER(0..100), -- 7 bits
-- negates the existence of an event at the event position by a third part ITS station that have received DENMs previously.
isNegation BOOLEAN -- 1 bit
}
-- event description derived from [3]
DecentralizedSituation::= SEQUENCE {
-- traffic status near the event position, defined based on [3], TPEG table tec001
--STF405: removed OPTIONAL, as it is syntactically incorrect
--TrafficFlowEffect ::= INTEGER(0..7) OPTIONAL
TrafficFlowEffect ::= INTEGER(0..7)
Situation ::= SEQUENCE {
cause CauseCode, -- 1 byte
subCause SubCauseCode -- 1 byte
}
CauseCode ::= ENUMERATED
-- 1 to 100 indicates causecode defined within [3]
-- 101 – 255 indicates causecode without being defined by [3]
{
reserved (0),
dangerousDriving (101),
intersectionViolation (102),
vehicleProblem (103),
intersectionCollision (104),
hazardousLocation (105),
...
}
SubCauseCode ::= ENUMERATED
{
unknown (0),
subCauseCode1 (1),
subCauseCode2 (2),
...
}
--STF405: removed OPTIONAL, as it is syntactically incorrect
--LinkedCause ::= Situation OPTIONAL
LinkedCause ::= Situation
--STF405: renamed to Severity
--LongTimeStamp ::= ENUMERATED...
Severity ::= ENUMERATED -- 1 byte
{
informative (1),
-- Text example: <Attention, there is a dangerous obstruction due to fog>
obstacles (2), --danger level 1
-- Text example: <Attention, there a danger due to fog>
danger (3), --danger level 2:
-- Text example: <Attention, highest danger due to fog>
highestDanger (4) --danger level 3:
}
--STF405: removed OPTIONAL, as it is syntactically incorrect
EventCharact ::= SEQUENCE -- 1 byte
{
-- whether the detected event is in mobility (moving vehicle) or static
mobility BOOLEAN,
-- whether the detected event is an ITS station, or is a geographical region
causeType BOOLEAN,
-- whether the detected event is physically relevant to the received ITS stations (accident) or describing difficult driving conditions (fog on the road)
relevant BOOLEAN,
-- whether a detected event is time critical (e.g., electronic braking light) or not (e.g. fog on the road)
timeCriticality BOOLEAN,
...
}
--STF405: removed OPTIONAL, as it is syntactically incorrect
TaggedList ::= SEQUENCE
{
...
}
RefPosition ::= SEQUENCE {
situationLat Latitude, -- 4 bytes
situationLong Longitude, -- 4 bytes
situationAlt Altitude, -- 2 bytes
-- accuracy of the reference position
accuracy PositionAccuracy, -- 4 bytes
-- speed of the detected event if it is in mobility, i.e. vehicle station
speed Speed OPTIONAL, -- 2 bytes
-- direction of the event if it is in mobility, i.e. vehicle station
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))
--STF405: removed OPTIONAL, as it is syntactically incorrect
Direction ::= INTEGER{north(0), east(7200), south(14400), west(21600)} (0..28800)
--STF405: removed OPTIONAL, as it is syntactically incorrect
Speed ::= INTEGER (-32765..32765) -- multiples of 0.01 m/s
LocationRef ::= CHOICE {
-- consequence position of the trace location referencing mechanism
trace [0] TraceLocData,
-- more location referencing mechanism to be added
...
}
TraceLocData ::= SEQUENCE {
--3 bits, identifier of the trace.
traceID INTEGER(0 .. 7),
--5 bits, number of waypoint positions included in the trace.