-
Notifications
You must be signed in to change notification settings - Fork 116
Relay Mode #123
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
Open
olliw42
wants to merge
97
commits into
main
Choose a base branch
from
dev-relay
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Relay Mode #123
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
Contributor
# Conflicts: # mLRS/Common/common_conf.h
# Conflicts: # mLRS/Common/common_conf.h
# Conflicts: # mLRS/CommonTx/crsf_interface_tx.h
# Conflicts: # mLRS/Common/hal/stm32/rx-hal-WioE5-Mini-wle5jc.h # mLRS/CommonTx/mavlink_interface_tx.h
|
I am here to test relay mode. would it be possible to prepare up-to-date firmwares for matek 2.4&868 RX/TX please? thanks |
# Conflicts: # mLRS/Common/setup_list.h # mLRS/CommonRx/out_interface.h # mLRS/CommonTx/crsf_interface_tx.h # mLRS/CommonTx/mavlink_interface_tx.h
# Conflicts: # mLRS/CommonTx/crsf_interface_tx.h
Start UDP and UDPCl in broadcast mode to remove need for bridge to guess groundstation IP (Eliminates hard coded IP addresses). First received message switches to unicast to avoid slow Arduino broadcast receive. Don't require groundstation to send first in UDPCl mode to allow use of default UDP connection on groundstation. Attempt to reconnect to AP if WiFi connection is lost.
… and make it faster by '*'
# Conflicts: # mLRS/Common/theory_of_operation.h
* UDP STA mode and broadcast UDP * Fix broadcast address for AP mode Feedback from PR comments
* Fix bridge speed detection. After changing the bridge to 9600 or 19200 baud, we couldn't switch back to higher speeds. * Oops
This causes MBRIDGE_CMD_REQUEST_INFO to be sent sent so that setup.h:setup_reload() will be called to reload the parameters from NV.
Added missing "crsf_tx" option in Setup.Rx.OutMode
# Conflicts: # mLRS/CommonRx/mavlink_interface_rx.h # mLRS/CommonTx/crsf_interface_tx.h # mLRS/CommonTx/mavlink_interface_tx.h
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.


for those who want to play and test :)
this adds the new option "crsf tx" to the RxOutMode parameter. This option should be selected on the receiver on the relay station (= secondary receiver). This is, in principle, all as regards of the required configuration.
However, in addition some configurations need to be done to have it all working together, e.g. also the baudrate should be selected to match the tx module on the relay station (= main tx module), usually 115200. Also RxChOrder should be selected to match that in the tx module in the radio (= secondary tx module). "crsf" should be selected in both tx modules, and mavlink must be enabled in all devices.
The out pin of the secondary receiver should be connected to the jrpin5/in pin on the main tx module, as well as the serials. With regards to the serials, it is mandatory to connect the tx line on the secondary receiver, the rx line can be left open, but of cousre also be connected if full mavlink shall be relayed.
The RC data is properly transmitted, also the mavlink data, and yappu works on the radio as well as the crsf telemetry shows the stats corresponding to the main link, not the relay link.
The main tx module and main receiver cannot be configured via the lua script. That is for configuring the main link, and easy approach would be to just plug the main tx module into a radio and set things up for them.