Device Type Addressing #191
Open
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.
This PR introduces individual addresses for each of the configurations of the backpack firmware (currently Tx, Vrx, timer) by replacing the last octet of the UID with the value of the config type. It is setup under the following assumptions:
This change allows for additional stability of the backpack in enabling accurate reporting of data delivery by the espnow send callback. For example, when trying to send OSD data to the Vrx backpack, a powered-on Tx backpack with the same address may report a successful data delivery when the Vrx failed to receive the expected data. This scenario breaks the timer backpack packet retransmit system allowing creating a measured 5-10% packet loss on the bench (currently with only the Vrx backpack on, there is a measured 0% loss).
This change also allows for the timer backpack to send to multiple peers without requiring it to configure its mac address before transmitting to a new peer. This enables the timer backpack's firmware to be changed to allow sending to multiple peers in parallel and not sequentially (which can have a noticeable delay for pilots who are last in the sequence)
Additional items to consider before merging: