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

[RNG] complete_cb called after the final frame has been sent #6

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

ncasaril
Copy link
Collaborator

@ncasaril ncasaril commented Jul 9, 2020

Inspired by mynewt-dw1000-core:32 and generalised for uwb-core.

Basically waits with issuing the complete_cb until the FINAL frame has been sent by the requester.
Previously the semaphore was released and complete_cb called when the start_tx command had been sent which could
lead to another request aborting the current tx operation.

@pkettle I've tested this on nucleos, please have a look over and test this on your side too.

@ncasaril ncasaril requested a review from pkettle July 9, 2020 05:40
@ncasaril ncasaril merged commit 69788c3 into master Jul 10, 2020
@ncasaril ncasaril deleted the nc_complete_cb_after_tx branch July 14, 2020 05:42
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.

1 participant