ETSI's Bug Tracker - ASN.1
View Issue Details
0006031ASN.1Base Specpublic18-04-2012 16:2715-05-2012 10:43
Sebastian Muellers 
Andras Kovacs 
normalminorhave not tried
closedfixed 
 
v0.0.1 
0006031: LightBar and SirenInUse in CAM
Dear all,
 
While looking at the proposed CAM definition there is one Type called LightBarSirenInUse. This is used to encode together the state of the siren and light bar.
 
Current definition:
LightBarSirenInUse ::= BIT STRING {
  noActivity (0),
  lightBarAvailable (1),
  lightBarActivated (2),
  sirenAvailable (3),
  sirenActivated (4)
}
To me this is unclear and ambiguous. What is he purpose of the “noActivity” flag? What is the legal combinatyion of bits, what are the meaning of the combinations?
 
 
I propose to reuse the old definition from ETSI TS 102 637-3 V1.1.1 (2010-09). In this document, there is a SimpleSystemState type that is used both for lightbar and for siren. I see no advantage in grouping these two together and I find the ENUMERATED type to bear more semantic information the BIT STRING. The encoded size (4 bits) is less than the proposal.
 
New prosposal:
Reuse the SimpleSystemState type from the old DENM document:
SimpleSystemState ::= ENUMERATED {
  unavailable (0), -- not equipped or out of order
  disabled (1), -- switched off by user or due to driving situation, e.g. ACC below minimum speed
  enabled (2), -- switched on but no action, e.g. ESP in normal operation, limiter below limit speed
  engaged (3) -- switched on and in action, e.g. light bar flashing, limiter limiting speed
}
-- Please note that the comments apply the general use of the SimpleSystemState, above is given
-- 4 examples: ACC, ESP, limiter, light bar. Each of the 4 states may not apply to all use of the type.
 
Apply this to the CAM (and DENM if applicable):
SpecialVehicleContainer ::= SEQUENCE {
  ....
  lightBar SimpleSystemState,
  siren SimpleSystemState,
  ....
}
Dear Ola,

I guess you refere to a ASN.1 document. Unfortunately have no editor for ASN.1. But in the latest excel sheet, which we discussed and agreed on at our last meeting in ETSI (ITSWG1(12)000023_CAM_message_list_v_38.xls), we spend only 2 bits for the LightBarSirenInUse.
LightBarSireneInUse bit string, conditional (shall be present for specific vehicle types)
bit 0: LightBar activated
bit 1: Siren activated

This bit sting provides everything what is needed.

Best regards,
Dieter Seeberger
No tags attached.
Issue History
18-04-2012 16:27Sebastian MuellersNew Issue
19-04-2012 13:35Sebastian MuellersNote Added: 0010561
25-04-2012 16:52Sebastian MuellersStatusnew => assigned
25-04-2012 16:52Sebastian MuellersAssigned To => Andras Kovacs
30-04-2012 18:49Andras KovacsStatusassigned => resolved
30-04-2012 18:49Andras KovacsResolutionopen => fixed
15-05-2012 10:43Sebastian MuellersStatusresolved => closed
15-05-2012 10:43Sebastian MuellersFixed in Version => v0.0.1

Notes
(0010561)
Sebastian Muellers   
19-04-2012 13:35   
Make the field optional