MySensors icon indicating copy to clipboard operation
MySensors copied to clipboard

Add SoftwareSerial support for RS485 transport

Open kasparsd opened this issue 4 years ago • 1 comments

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 avatar Oct 29 '21 15:10 kasparsd

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

kasparsd avatar Nov 20 '21 13:11 kasparsd