-
Notifications
You must be signed in to change notification settings - Fork 207
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
EVS "output ports" should be a function of the PSP #94
Comments
Imported from trac issue 63. Created by jphickey on 2015-06-04T12:43:35, last modified: 2019-07-03T12:58:32 |
Trac comment by jphickey on 2015-06-04 12:45:32: Candidate for CCB discussion at some point. |
Trac comment by jphickey on 2018-05-14 13:39:47: I would like to see this revisited for the next CFE release. The event "output ports" feature has been sitting in its current state for quite some time, where it is there but not really useful in any meaningful way. We should either allow deployments to actually make use of dynamic output possibilities by directing these through the PSP, or decide that it will only ever be (In particular, on Linux systems it might be quite useful to direct these events to the syslog daemon. Leveraging the PSP could allow that to happen). |
Trac comment by jhageman on 2019-04-03 17:47:39: CCB 4/3/19 Discussion
|
Trac comment by jhageman on 2019-04-03 17:48:13: See also #93, coordinated solution suggested. |
Trac comment by jhageman on 2019-07-03 12:58:32: Moved unfinished 6.7.0 tickets to next release |
Related requirement cEVS3017 and cEVS3109: cFE/docs/cFE_FunctionalRequirements.csv Line 238 in 8ea2307
cFE/docs/cFE_FunctionalRequirements.csv Line 295 in 8ea2307
|
Currently the EVS has 4 "output ports" implemented as functions within EVS: {{{EVS_OutputPort1(), EVS_OutputPort2(), EVS_OutputPort3(), EVS_OutputPort4()}}}
These are all identically hard coded to {{{OS_printf()}}}
The premise here seems logical -- to have several different destinations that the message may be sent. But the current implementation does not allow for that to really happen.
The proposal is to change this to a PSP implementation:
{{{CFE_PSP_SendEventToPort(uint32 PortNum, const char *Message);}}}
This single API could be used for all ports, and the PSP could switch based on the "PortNum" value if needed, or simply call {{{OS_printf}}} for all messages as it does in the current code.
The text was updated successfully, but these errors were encountered: