Skip to content

Fix #62, make entity ID default to 32 bit#159

Merged
astrogeco merged 1 commit intonasa:mainfrom
jphickey:fix-62-default-eid-32bit
Jan 12, 2022
Merged

Fix #62, make entity ID default to 32 bit#159
astrogeco merged 1 commit intonasa:mainfrom
jphickey:fix-62-default-eid-32bit

Conversation

@jphickey
Copy link
Copy Markdown
Contributor

Describe the contribution
Entity IDs should be larger by default for real-world applicability, as this also restricts what CFDP can receive, not just what it sends. Note CFDP will only use the number of bytes required to express the value, so values less than 256 will
still only use 1 byte, regardless of this config. This just allows use of larger values.

Fixes #62

Testing performed
Build and sanity check CF

Expected behavior changes
Default "out of the box" config should support entity ID values up to 32 bits.

System(s) tested on
Ubuntu 21.10

Additional context
This only affects what CF is capable of handling, if running with small (<256) entity ID values, there is no change to the runtime behavior at all; they will still be 8 bits in practice.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Entity IDs should be larger by default for real-world applicability, as this also
restricts what CFDP can receive, not just what it sends.  Note CFDP will only use
the number of bytes required to express the value, so values less than 256 will
still only use 1 byte, regardless of this config.  This just allows use of larger
values.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 10, 2022
@astrogeco astrogeco merged commit c31c8d9 into nasa:main Jan 12, 2022
@astrogeco astrogeco removed the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 12, 2022
@jphickey jphickey deleted the fix-62-default-eid-32bit branch January 12, 2022 16:52
@skliper skliper added this to the Draco milestone Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CF should use larger cf_entity_id_t type as default

5 participants