mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
* Interfaces * Point to new fpp alpha release * Fix the fprime-gds version * Update for framer/deframer work * Fix cmake tests * Clean up annotations * Clean up final fpp
41 lines
1.3 KiB
Fortran
41 lines
1.3 KiB
Fortran
module Svc {
|
|
module Ccsds {
|
|
@ Deframer for the CCSDS Space Packet protocol
|
|
passive component SpacePacketDeframer {
|
|
|
|
import Deframer
|
|
|
|
@ Port to validate a received sequence count for a given APID
|
|
output port validateApidSeqCount: Ccsds.ApidSequenceCount
|
|
|
|
@ Deframing received an invalid frame length
|
|
event InvalidLength(transmitted: U16, actual: U32) \
|
|
severity warning high \
|
|
format "Invalid length received. Header specified packet byte size of {} | Actual received data length: {}"
|
|
|
|
###############################################################################
|
|
# Standard AC Ports: Required for Channels, Events, Commands, and Parameters #
|
|
###############################################################################
|
|
@ Port for requesting the current time
|
|
time get port timeCaller
|
|
|
|
@ Port for sending textual representation of events
|
|
text event port logTextOut
|
|
|
|
@ Port for sending events to downlink
|
|
event port logOut
|
|
|
|
@ Port for sending telemetry channels to downlink
|
|
telemetry port tlmOut
|
|
|
|
@ Port to return the value of a parameter
|
|
param get port prmGetOut
|
|
|
|
@ Port to set the value of a parameter
|
|
param set port prmSetOut
|
|
|
|
}
|
|
|
|
} # end Ccsds
|
|
} # end Svc
|