Clarify the use of the "to" field of MeshPacket struct#79
Closed
andrewdavidmackenzie wants to merge 4 commits intomeshtastic:mainfrom
Closed
Clarify the use of the "to" field of MeshPacket struct#79andrewdavidmackenzie wants to merge 4 commits intomeshtastic:mainfrom
andrewdavidmackenzie wants to merge 4 commits intomeshtastic:mainfrom
Conversation
…if a packet was sent to a channel or a node.
lukipuki
reviewed
Nov 13, 2025
| pub from: u32, | ||
| /// | ||
| /// The (immediate) destination for this packet | ||
| /// The (immediate) destination for this packet. |
Collaborator
There was a problem hiding this comment.
This is not the right place for it. As the name suggests, this is a generated file. This will get overwritten when we update protobuf and regenerate this file.
Please post a PR to the protobuf repository:
https://github.com/meshtastic/protobufs/blob/7654db2e2d1834aebde40090a9b74162ad1048ae/meshtastic/mesh.proto#L1373
Contributor
Author
|
Done, here: meshtastic/protobufs#811 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clarify the use of the "to" field of MeshPacket struct, and how to use it to determine if a packet was sent to a node or to a channel
Related Issues
Links (e.g. closes #123).
Proposed Changes
Checklist