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
on windows: (win11) set_options fails with ec 31 = 'A device attached to the system is not functioning'
if the option matches the desired value. workaround: get_options and only set_option if !=
but after closing the port I found that some Device Control Block dcp fail to be set that are not exposed by boost.asio
in my case:
BaudRate, fDtrControl, and fRtsControl
my current strategy is to use the winAPI and reset the dcp before port.close()
Am I missing a trick here? Or is this common, normal serial COM port hell?
The text was updated successfully, but these errors were encountered:
on windows: (win11)
set_options
fails withec
31 = 'A device attached to the system is not functioning'if the option matches the desired value. workaround:
get_options
and onlyset_option
if!=
but after closing the port I found that some Device Control Block
dcp
fail to be set that are not exposed by boost.asioin my case:
BaudRate, fDtrControl, and fRtsControl
my current strategy is to use the winAPI and reset the
dcp
beforeport.close()
Am I missing a trick here? Or is this common, normal serial COM port hell?
The text was updated successfully, but these errors were encountered: