Skip to content

Conversation

@olliw42
Copy link
Owner

@olliw42 olliw42 commented Sep 15, 2023

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.

@rotorman
Copy link
Contributor

Here two images that might help to understand how the relay mode could be used (just showing two examples, more constellations are possible):

grafik

grafik

@olliw42 olliw42 added experimental went stale pr is quite outdated labels Aug 6, 2024
@jiri-jirus
Copy link

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
@olliw42 olliw42 removed the went stale pr is quite outdated label Mar 5, 2025
olliw42 and others added 30 commits April 21, 2025 14:17
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.
# 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants