FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix CDC fallback logic/path, add ESP32 CDC examples by Syndric · Pull Request #22 · bertmelis/USBHostSerial · GitHub

Fix CDC fallback logic/path, add ESP32 CDC examples - #22

Merged
bertmelis merged 5 commits into
bertmelis:mainfrom
Syndric:fix/fallback
Apr 7, 2026
Merged

Fix CDC fallback logic/path, add ESP32 CDC examples#22
bertmelis merged 5 commits into
bertmelis:mainfrom
Syndric:fix/fallback

Conversation

Syndric commented Apr 1, 2026
edited
Loading

Copy link
Copy Markdown

Fix CDC fallback paths to work with dual ESP32, one as a host and the other as a peripheral.

  • Fixed a small typo, host_line_coding was being get, not set
  • Asserted the USB control line. Otherwise, communication only works one way from Host -> Peripheral.
  • Added examples for ease of testing
  • Fixed panic if invalid state upon CDC disconnect
  • Fix reconnection logic with semaphore
  • Added delays to allow for CDC to stabilize (use case: pressing the reset on peripheral)

bertmelis merged commit 3608e9a into bertmelis:main Apr 7, 2026
5 checks passed
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL