Add USB serial bridge transport for repeater firmware#2959
Open
darrylhodgins wants to merge 3 commits into
Open
Add USB serial bridge transport for repeater firmware#2959darrylhodgins wants to merge 3 commits into
darrylhodgins wants to merge 3 commits into
Conversation
darrylhodgins
marked this pull request as draft
July 15, 2026 12:36
darrylhodgins
marked this pull request as ready for review
July 15, 2026 12:37
|
Will it work if I connect two boards RAK4631 / RAK19007 with a USB cable? |
Author
It may be possible to have one of the boards act as a USB host, but as it stands at this point, both boards will just sit there waiting for a host to appear. At least for now, the UART approach is the way to go for that. This initial PR is meant to provide the serial stream to a computer (in my case it's a simple Raspberry Pi). I'll look into whether USB OTG or having one of the boards act as a USB host is possible, but I think that would belong in a separate PR. |
|
I see, that's a pity, I was hoping to avoid soldering. Thank you for your response. |
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.
Adds native USB CDC support to
RS232Bridgefor selected repeater targets with a second USB CDC interface.Initially, includes these targets:
The existing serial bridge frame format is unchanged; only its physical transport changes.
Serialport.For all other bridge targets, existing UART behaviour remains unchanged.
Closes #2958
Testing
Built and bench-tested on physical hardware:
RAK_4631_repeater_bridge_usbserialSenseCap_Solar_repeater_bridge_usbserialVerified that the CLI and bridge enumerate as separate USB serial ports and that bridge traffic works over the second port.