mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
For all FPP enums in the framework, set the representing type to the minimum width that can represent the enum's member constants.
31 lines
925 B
Fortran
31 lines
925 B
Fortran
module Svc {
|
|
|
|
@ Send file status enum
|
|
enum SendFileStatus : U8 {
|
|
STATUS_OK
|
|
STATUS_ERROR
|
|
STATUS_INVALID
|
|
STATUS_BUSY
|
|
}
|
|
|
|
@ Send file response struct
|
|
struct SendFileResponse {
|
|
status: Svc.SendFileStatus
|
|
context: U32
|
|
}
|
|
|
|
@ FileDownlink response to send file request
|
|
port SendFileComplete(
|
|
$resp: Svc.SendFileResponse
|
|
)
|
|
|
|
@ Request that FileDownlink downlink a file
|
|
port SendFileRequest(
|
|
sourceFileName: string size 100 @< Path of file to downlink
|
|
destFileName: string size 100 @< Path to store downlinked file at
|
|
offset: U32 @< Amount of data in bytes to downlink from file. 0 to read until end of file
|
|
length: U32 @< Amount of data in bytes to downlink from file. 0 to read until end of file
|
|
) -> Svc.SendFileResponse
|
|
|
|
}
|