You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The portserial.cpp does not regard the parity argument. I had fixed this, but still no success. Then I found that the enable_output function starts the initialization again and did not restore the parity/wordlength settings, so that the modbus Ack was sent with wrong framing.
I think the the intention of using the enable function is to enable/disable the according ISRs, but the function also does all init stuff.
The text was updated successfully, but these errors were encountered:
Is this repo still maintained?
I found this problem when I tried to use this modbus lib with serial and parity even:
https://forums.mbed.com/t/unbufferedserial-sending-with-parity-even-does-not-work/22377/2
The portserial.cpp does not regard the parity argument. I had fixed this, but still no success. Then I found that the enable_output function starts the initialization again and did not restore the parity/wordlength settings, so that the modbus Ack was sent with wrong framing.
I think the the intention of using the enable function is to enable/disable the according ISRs, but the function also does all init stuff.
The text was updated successfully, but these errors were encountered: