nasa / CF

The Core Flight System (cFS) CFDP application.
Apache License 2.0
86 stars 46 forks source link

Configuration table does not contain all required items #122

Closed semaldona closed 2 years ago

semaldona commented 2 years ago

Per requirement CF4000.1.1, all specified values should be present in the configuration table. Currently, only some of the values are present. Values not specified in the requirement are also present in the table. For example, the history queue depth and channel name are specified but are not implemented.

skliper commented 2 years ago

Issue details: "Channel parameters" is really for each channel, there isn't really any such thing as a "playback channel" anymore. Recommend fixing requirement.

Pending Queue Depth: Requirements issue - Concept has changed... it's a transaction and the transactions can be in a pending state. Total transactions supported is configured via compile defines in the platform configuration. History Queue Depth - same issue as pending Channel Name - No longer exist. Channels are reference by index. Recommend just deleting from requirement.

Polling dir - no option to keep files... doesn't really make sense for polling since it would just keep sending them. Note playback just cycles through once, so the keep option is supported in playback dir commands. Recommend delete from requirement.

"Input channel parameters" - need to consolidate under channel parameters... these are no longer separate. Response is on the same channel. Recommend fixing requirement.

Current requirement: CF4000.1.1,CF4000.1.1,"The ""CF Channel Configuration Table"" shall define the following parameters: -- Channel parameters (repeated for each playback channel)

  1. Dequeue Enable
  2. Downlink PDU MID
  3. Pending Queue Depth
  4. History Queue Depth
  5. Channel Name
  6. Handshake Semaphore Name -- Polling Directory Parameters (repeated for each polling directory)
  7. Enable State
  8. CFDP Class
  9. Priority
  10. Source Path
  11. Destination Path
  12. Preserve file
  13. Peer Entity Id -- Input channel parameters (repeated for each input channel)
  14. Input PDU MID
  15. Class 2 Uplink Response Channel