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

[ntcore] Change internal interfaces and messages to use UIDs #7189

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

PeterJohnson
Copy link
Member

Also make Handle functions constexpr.

@PeterJohnson PeterJohnson requested a review from a team as a code owner October 11, 2024 17:32
@PeterJohnson PeterJohnson merged commit 8ca99c7 into wpilibsuite:main Oct 11, 2024
35 checks passed
@PeterJohnson PeterJohnson deleted the nt-internal-uid branch October 11, 2024 17:57
PeterJohnson added a commit that referenced this pull request Oct 12, 2024
The changes in #7189 caused an ambiguity between multi-subscribers and
normal subscribers, because the handle type no longer is sent to the network.

Multi-subscribers now go to the network with negative UIDs, normal
subscribers are positive UIDs.  UID 0 is never used.
katzuv pushed a commit to katzuv/allwpilib that referenced this pull request Oct 14, 2024
katzuv pushed a commit to katzuv/allwpilib that referenced this pull request Oct 14, 2024
…suite#7198)

The changes in wpilibsuite#7189 caused an ambiguity between multi-subscribers and
normal subscribers, because the handle type no longer is sent to the network.

Multi-subscribers now go to the network with negative UIDs, normal
subscribers are positive UIDs.  UID 0 is never used.
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