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

Fix #723, CFE_EVS_Register const correct and report truncation #1133

Merged

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Jan 26, 2021

Describe the contribution
Fix #723 - Filters pointer now const in API and truncation is reported in the system log

Testing performed
Built and ran unit tests (already cover the truncation case), verified new system log message

Expected behavior changes
Reports truncation when registering filters with CFE_EVS_Register

System(s) tested on

  • Hardware: cFS Dev Server
  • OS: Ubuntu 18.04
  • Versions: Bundle main + this commit

Additional context
None

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jan 26, 2021
@skliper skliper modified the milestones: 7.0.0, 7.1.0 Jan 26, 2021
@skliper skliper force-pushed the fix723-filter_truncation branch from 4865c3c to b50cd5b Compare January 27, 2021 14:32
@astrogeco astrogeco added CCB:2021-01-27 and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Jan 27, 2021
@astrogeco
Copy link
Contributor

CCB:2021-01-27 CHANGE REQUESTED

  • Is there a better type we could use? Prefer not using void

@skliper
Copy link
Contributor Author

skliper commented Jan 27, 2021

@jphickey Looked at this again... it's a void to support different filter types. Casts to the specifically selected filter type (we only support binary filters now), but there for future supported if needed.

@jphickey
Copy link
Contributor

OK sounds good ... as long as there's a reason!

@astrogeco astrogeco changed the base branch from main to integration-candidate February 3, 2021 22:38
@astrogeco astrogeco merged commit 4936a5d into nasa:integration-candidate Feb 3, 2021
@skliper skliper deleted the fix723-filter_truncation branch March 23, 2021 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CFE_EVS_Register should log or send an event when NumEventFilters > CFE_PLATFORM_EVS_MAX_EVENT_FILTERS
3 participants