Repository navigation
radio.deliver: hand a node's radio one frame - #797
Merged
Merged
Conversation
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.
A verb, and node.deliver() in the Python and Go clients, that gives a node's radio a frame directly, intact or as a failed reception: crc_error, header_error, no_crc (the header said there is no CRC), next_before_read or next_during_read (the next frame's header arriving during continuous receive). The last three need MeshBench/meshcore-native#31, which says so with a new capability bit; delivered is false where a chip does not read the kind.
Used to test MeshCore's receive path against real damaged packets: a frame whose header says no CRC is repeated by stock MeshCore, and a read that overlaps the next frame repeats a packet with that frame's first byte on the end, matching copies seen on air.