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 #745 - getlastsenderid now returns appid #750

Closed

Conversation

CDKnightNASA
Copy link
Contributor

Fix for #745 - This removes the CFE_SB_SenderID_t struct and, instead, the CFE_SB_GetLastSenderId() function now takes a pointer to an AppId (uint32) that it uses as an out parameter for the call.

Testing performed
Built with ENABLE_UNIT_TESTS

Expected behavior changes
Significantly changes the GetLastSenderId() function, will break any users of this API (particularly SBN.)

System(s) tested on
Debian 10.3

Additional context
This obviates #744 and I recommend closing that ticket with this fix.

Contributor Info - All information REQUIRED for consideration of pull request
[email protected]

@CDKnightNASA CDKnightNASA added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jun 19, 2020
@CDKnightNASA CDKnightNASA self-assigned this Jun 19, 2020
@skliper skliper added this to the 7.0.0 milestone Jun 22, 2020
@skliper
Copy link
Contributor

skliper commented Jun 22, 2020

Marked as 7.0 since this is an API change. Does this also fix #744? I may have missed it, but I don't see where this field is filled in.

@CDKnightNASA
Copy link
Contributor Author

Marked as 7.0 since this is an API change. Does this also fix #744? I may have missed it, but I don't see where this field is filled in.

Gah forgot that part! I've committed/pushed. (I can squash merge if you need.)

@astrogeco astrogeco changed the title fix #745 - getlastsenderid now returns appid Fix #745 - getlastsenderid now returns appid Jun 24, 2020
@CDKnightNASA
Copy link
Contributor Author

Closing and will create a new ticket removing the GetLastSenderId() API and adding a variant of RecvMsg() that returns the AppId as an out parameter.

@astrogeco
Copy link
Contributor

CCB-20200624 - @CDKnightNASA will set up a splinter to further discuss the design.

@astrogeco astrogeco removed the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jun 24, 2020
@skliper skliper removed this from the 7.0.0 milestone Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants