Setting parity check in SoftwareSerial

Hello,
I'm trying to communicate with a module which is defined these items for its serial interface:

  • 1 start bit
  • 8 data bits
  • 1 stop bit
  • Odd parity check
  • No Flow control

I think everything is fine but Odd parity check. I was not able to set the odd parity check to software serial instance. Any idea for communicating with such a device? (like another library or ...?!)

Thanks

AFAIK SWSerial cannot set parity (you could MOD the source)

Maybe this one does? - AltSoftSerial Library, for an extra serial port ?
(did not investigate)

Hi Epsilon, I have the same problem as you.

Thanks to robtillaart advise, I made some research on AltSoftSerial library but it seems that you can't set parity. :frowning:

Maybe you could modify it by yourself following that :

In any case, I will continue my investigation in order to find an appropriate library. :wink:

You could try this: