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
Hello everyone, I have a exotic device that wrongly implements TTY->RS485 circuit and CTS/RTS needs to be set reversed-oposite way to process communication correctly. I tested it with simple script using libmodbus and when I used option modbus_rtu_set_rts(ctx, MODBUS_RTU_RTS_DOWN); communication worked correctly.
But my app is written in NodeJS and I'm already using modbus-serial which uses serialport. I spent some time on bindings-cpp and trying to update Baton classes but I wasn't even able to the dirty way reverse CTS/RTS vales.
Do you guys have idea or some advice on how would you address this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone, I have a exotic device that wrongly implements TTY->RS485 circuit and CTS/RTS needs to be set reversed-oposite way to process communication correctly. I tested it with simple script using
libmodbus
and when I used optionmodbus_rtu_set_rts(ctx, MODBUS_RTU_RTS_DOWN);
communication worked correctly.But my app is written in NodeJS and I'm already using
modbus-serial
which usesserialport
. I spent some time onbindings-cpp
and trying to updateBaton
classes but I wasn't even able to the dirty way reverse CTS/RTS vales.Do you guys have idea or some advice on how would you address this?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions