Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created ComInterface.fppi #3017

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions Svc/ComStub/ComStub.fpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
module Svc {
@ Communication adapter interface implementing communication adapter interface via a Drv.ByteStreamDriverModel.
passive component ComStub {

# ----------------------------------------------------------------------
# Framer, deframer, and queue ports
# ----------------------------------------------------------------------

@ Data coming in from the framing component
sync input port comDataIn: Drv.ByteStreamSend

@ Status of the last radio transmission
output port comStatus: Fw.SuccessCondition

@ Com data passing back out
output port comDataOut: Drv.ByteStreamRecv
include "../Interfaces/ComInterface.fppi"

# ----------------------------------------------------------------------
# Byte stream model
Expand Down
8 changes: 8 additions & 0 deletions Svc/Interfaces/ComInterface.fppi
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@ Data coming in from the framing component
sync input port comDataIn: Drv.ByteStreamSend

@ Status of the last radio transmission
output port comStatus: Fw.SuccessCondition

@ Com data passing back out
output port comDataOut: Drv.ByteStreamRecv
Loading