Closed avan989 closed 10 months ago
From the code, it looks like the "PDU data length" for the File Directive does not include the directive code. From CCSDS 727.0-B-5 Section 5.2.1.1
The data field of File Directives shall consist of a Directive Code octet followed by a Directive Parameter field
Example from cfdp_pdu_eof.rb: https://github.com/OpenC3/openc3-cosmos-cfdp/blob/fa4b65f1928dd54ceeeb074f021b97f2711757b0/microservices/CFDP/lib/cfdp_pdu/cfdp_pdu_eof.rb#L41-L47
You are correct. Fill fix.
From the code, it looks like the "PDU data length" for the File Directive does not include the directive code. From CCSDS 727.0-B-5 Section 5.2.1.1
Example from cfdp_pdu_eof.rb: https://github.com/OpenC3/openc3-cosmos-cfdp/blob/fa4b65f1928dd54ceeeb074f021b97f2711757b0/microservices/CFDP/lib/cfdp_pdu/cfdp_pdu_eof.rb#L41-L47