Skip to content

Add SoftwareSerial support for RS485 transport#1510

Open
kasparsd wants to merge 3 commits into
mysensors:developmentfrom
kasparsd:add/softwareserial
Open

Add SoftwareSerial support for RS485 transport#1510
kasparsd wants to merge 3 commits into
mysensors:developmentfrom
kasparsd:add/softwareserial

Conversation

@kasparsd

@kasparsd kasparsd commented Oct 29, 2021

Copy link
Copy Markdown

Fixes #1300.

The Arduino SoftwareSerial library (and its forks for various hardware platforms) appears to be compatible with the API currently used by the RS485 transport. It contains the following calls:

  • .available()
  • .read()
  • .flush()
  • .begin()

@kasparsd

Copy link
Copy Markdown
Author

Would this be something valuable for the upstream project? The AltSoftSerial implementation currently doesn't support ESP devices so this would solve that issue.

@CodeGarageIo
CodeGarageIo self-requested a review April 10, 2026 17:41
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.

MinorChanges: SoftwareSerial for RS485

1 participant