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
I have a serial device capable of supporting 921.6Kbps however the current implementation of win32_serial_driver.rb checks for the requested baud_rate to be in the Win32::BAUD_RATES array and then raises an exception if not found.
The DCB structure supports arbitrary baud rates. I have tested a modification to the Win32::BAUD_RATES array where the addition of 921.6Kbps works with a target device.
Suggestions for Resolution
Add Api to add additional supported rates programmically from target interface definition
Merge in COSMOSEE/base from multi-error to master
* commit 'b9fda6125ba247eea93e6bef2cc19eb3af457136':
missing base
update cosmos command
posix scripts
multi error and rm scriptrunner
I have a serial device capable of supporting 921.6Kbps however the current implementation of win32_serial_driver.rb checks for the requested baud_rate to be in the Win32::BAUD_RATES array and then raises an exception if not found.
The DCB structure supports arbitrary baud rates. I have tested a modification to the Win32::BAUD_RATES array where the addition of 921.6Kbps works with a target device.
Suggestions for Resolution
I think adding additional rates is the best option, additional rates not expected to be added anytime soon.
_NOTE:_ the posix_serial_driver uses termios and it looks like 921600 is defined on modern linux distros and in the ruby-termios package
The text was updated successfully, but these errors were encountered: