Closed acrap closed 11 years ago
Currently you need to patch modbus-rtu.c line 62. I intend to make a change to support until B4000000 w/o depending on constants. Do you need this on Linux or Windows?
Thank you! I need this on QNX
I needed this too, so I made this patch:
http://bayfiles.net/file/PnbL/XNDENH/0001-high-speed.patch
It uses constants however. That's also how it works in GNU coreutils stty: http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=src/stty.c;h=ee891a593354fde0494fb2a20728cce79dc74f12;hb=1cb8e6392c70dca8773c411d4c824ad98b0fc1ec
Yes, it's certainly the safer approach.
@zorxd Thank you for your patch, I added more defines and Windows values.
It's really? My hardware support this, but a libmodbus... Can I use this library at such speeds? Will I have to change something in the code library?
Sorry for the my bad English