Opened 6 years ago

#12395 new Bugs

Asio Serial_port does not work after unplug and plug the cable back (reconnection)

Reported by: paulorbhell@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc: paulorbhell@…

Description

After unplug and plug the cable during runtime, the write_some operation returns the number of bytes written but if you check the other side no bytes were sent. If we restart the runtime, it works again.

The workaround I am trying to implement is if I have any timeout conditions I will release the resources and open the port again.

Change History (0)

Note: See TracTickets for help on using tickets.