1+ module Svc {
2+ module Ccsds {
3+ @ F' implementation of the CFDP file transfer prototcol
4+ active component CfdpManager {
5+
6+ # One async command/port is required for active components
7+ # This should be overridden by the developers with a useful command/port
8+ @ TODO
9+ async command TODO opcode 0
10+
11+ ##############################################################################
12+ #### Uncomment the following examples to start customizing your component ####
13+ ##############################################################################
14+
15+ # @ Example async command
16+ # async command COMMAND_NAME(param_name: U32)
17+
18+ # @ Example telemetry counter
19+ # telemetry ExampleCounter: U64
20+
21+ # @ Example event
22+ # event ExampleStateEvent(example_state: Fw.On) severity activity high id 0 format "State set to {}"
23+
24+ # @ Example port: receiving calls from the rate group
25+ # sync input port run: Svc.Sched
26+
27+ # @ Example parameter
28+ # param PARAMETER_NAME: U32
29+
30+ ###############################################################################
31+ # Standard AC Ports: Required for Channels, Events, Commands, and Parameters #
32+ ###############################################################################
33+ @ Port for requesting the current time
34+ time get port timeCaller
35+
36+ @ Enables command handling
37+ import Fw.Command
38+
39+ @ Enables event handling
40+ import Fw.Event
41+
42+ @ Enables telemetry channels handling
43+ import Fw.Channel
44+
45+ @ Port to return the value of a parameter
46+ param get port prmGetOut
47+
48+ @Port to set the value of a parameter
49+ param set port prmSetOut
50+
51+ }
52+ } # end Ccsds
53+ } # end Svc
0 commit comments