SamCooper / MC_SPEC_RIDS

1 stars 0 forks source link

Storing enumerated values as UOctet fields is not precisely described #259

Open dmarszk opened 6 years ago

dmarszk commented 6 years ago

UOctet fields like

MC::Parameter::ParameterValue::validityState
MC::Aggregation::AggregationDefinitionDetails::category
MC::Action::ActionDefinitionDetails::category

are meant to represent either a standard enumeration value or a deployment specific extension value. But enumeration representation as a number is encoding-specific. The field description should cover that encoding (e.g. "enumeration shall be encoded as an ordinal - a sequential counter starting at zero for the first enumeration element")

Related: https://github.com/esa/CCSDS_MO_StubGenerator/issues/22