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
36 lines
1.2 KiB
Fortran
36 lines
1.2 KiB
Fortran
module Svc {
|
|
@ Accumulates data into frames
|
|
passive component FrameAccumulator {
|
|
|
|
# ----------------------------------------------------------------------
|
|
# FrameAccumulator interface
|
|
# ----------------------------------------------------------------------
|
|
import FrameAccumulator
|
|
|
|
@ Port for deallocating buffers holding extracted frames
|
|
output port bufferDeallocate: Fw.BufferSend
|
|
|
|
@ Port for allocating buffer to hold extracted frame
|
|
output port bufferAllocate: Fw.BufferGet
|
|
|
|
@ An error occurred while deserializing a packet
|
|
event NoBufferAvailable \
|
|
severity warning high \
|
|
format "Could not allocate a valid buffer to fit the detected frame"
|
|
|
|
|
|
###############################################################################
|
|
# Standard AC Ports for Events
|
|
###############################################################################
|
|
@ 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
|
|
|
|
}
|
|
}
|