fprime/Svc/FileManager/FileManager.fpp
Isaac Garibay fff0e0bf77
Add file size and subdirectory support to FileManager directory listing feature (#4041)
* Enhancement: Added file size and subdirectory support to FileManager directory listing feature

* Refactor to directory listing feature using rategroup 2 component

* Spelling fixes to expect.txt, config feilds for schedin call, fixes on comments/types

* Fix for spellcheck

* Replace fixed size with FileNameStringSize for commands

* Fix minor nits

* Formatting

* Remove fileManager instance, use FileHandling.fileManager

* Fix review feedback

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2025-09-09 14:46:07 -07:00

64 lines
1.6 KiB
Fortran

module Svc {
@ A component for managing files
active component FileManager {
# ----------------------------------------------------------------------
# General Ports
# ----------------------------------------------------------------------
@ Ping input port
async input port pingIn: Svc.Ping
@ Scheduler input port for rate group operations
async input port schedIn: Sched
@ Ping output port
output port pingOut: Svc.Ping
# ----------------------------------------------------------------------
# Special ports
# ----------------------------------------------------------------------
@ Command receive port
command recv port cmdIn
@ Command registration port
command reg port cmdRegOut
@ Command response port
command resp port cmdResponseOut
@ Event port
event port eventOut
@ Text event port
text event port LogText
@ Time get port
time get port timeCaller
@ Telemetry port
telemetry port tlmOut
# ----------------------------------------------------------------------
# Commands
# ----------------------------------------------------------------------
include "Commands.fppi"
# ----------------------------------------------------------------------
# Telemetry
# ----------------------------------------------------------------------
include "Telemetry.fppi"
# ----------------------------------------------------------------------
# Events
# ----------------------------------------------------------------------
include "Events.fppi"
}
}