nasa / EdsLib

CCSDS SOIS Electronic Data Sheet Tool and Library
Apache License 2.0
31 stars 12 forks source link

EDS message header module needs to provide CFE_MSG_CMD_HDR_INIT macro #49

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

Is your feature request related to a problem? Please describe. The GSFC default implementation of the "msg" module contains a CFE_MSG_CMD_HDR_INIT macro, but the EDS implementation does not provide this. It is used by some table file definitions to initialize message entries.

Describe the solution you'd like EDS implementation should also provide this macro, for backward compatibility with existing table file definitions.

Additional context It would be better to migrate such table definitions to a script, because in reality the "MsgId" field does not correlate to just a single entry in the header. While the standard header can be fudged relatively easily, the extended/v2 headers use an abstract MsgId value that doesn't directly correlate to a single field in the header, so these might not work as intended.

Requester Info Joseph Hickey, Vantage Systems, Inc.