Boost C++ Libraries: Ticket #12295: Boost Asio Serial Port does not work with Exar (Baudrate zero) https://svn.boost.org/trac10/ticket/12295 <p> Calling boost::asio::serial_port.open("COM4") returns a error under windows. We use a Exar XR22804 using the latest official drivers for Windows. The problem is located in boost::asio::win_iocp_serial_port_service where the windows driver returns dcb.Baudrate=0. After that it tries to set new settings with <a class="missing wiki">SetCommState</a> and it fails if dcb.Baudrate is 0. A solution would be to preset the baudrate if 0 or even better to read a user parameter with the wanted baudrate as it is done in some other frameworks. </p> <p> Someone else has sent the same bug to the people of the qt-framework, and they solved it: <a class="ext-link" href="https://bugreports.qt.io/browse/QTBUG-46993"><span class="icon">​</span>https://bugreports.qt.io/browse/QTBUG-46993</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12295 Trac 1.4.3 maximmalofeev@… Fri, 09 Feb 2018 09:46:50 GMT <link>https://svn.boost.org/trac10/ticket/12295#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12295#comment:1</guid> <description> <p> have the same problemm with XR21B1411. </p> </description> <category>Ticket</category> </item> </channel> </rss>