nasa / FM

The Core Flight System (cFS) File Manager (FM) application.
Apache License 2.0
43 stars 25 forks source link

Open files command can result in exceedingly large packet #112

Open dmknutsen opened 1 year ago

dmknutsen commented 1 year ago

Checklist (Please check before submitting)

Is your feature request related to a problem? Please describe. FM_GET_OPEN_FILES_CC allows for generation of an exceeding large tlm packet. The packet created is equal to OS_MAX_NUM_OPEN_FILES (OS_MAX_PATH_LEN + OS_MAX_API_NAME) - which by default equals 50 (64 + 20) = 4200 bytes.

Describe the solution you'd like FM could have a configurable open files telemetry packet, such that it allows users to define a max packet size. FM could then iterate through the open files packet data – transmitting a packet once an entry no longer fits within the packet, until all the open files packet data has been sent.

Requester Info Dan Knutsen NASA Goddard