RS232 Gateway - Serial frame data format

Hello there.
After some research, I have found that the library used for RS232 is in fact the SoftwareSerial.h

You can see this information under .pio, modemcuv2-rs232, idedata.json

Looking inside the code from the library, we can see:

enum SoftwareSerialConfig {
SWSERIAL_5N1 = SWSERIAL_PARITY_NONE,
SWSERIAL_6N1,
SWSERIAL_7N1,
SWSERIAL_8N1,
SWSERIAL_5E1 = SWSERIAL_PARITY_EVEN,
SWSERIAL_6E1,
SWSERIAL_7E1,
SWSERIAL_8E1,
and so on… giving the possibility to : “@param config sets databits, parity, and stop bit count”

So, it´s time to make some modifications and tests.
I will reply with the results as soon as the tests are conclusive.

cheers

1 Like