kvmurban.blogg.se

Boost asio serial port example
Boost asio serial port example











boost asio serial port example boost asio serial port example

However I get compilation error even when I am using the same exact syntax that I tried inside the main program which runs fine but only once. So I thought I should make it into a separate class like in this example and maybe make use of a separate thread. When I try to create serial port in my console app main program, I can compile and read from serial port but only once. Both UDP and serial receiver I am initializing with the same io_context. I am trying to use Boost ASIO for a serial port async read that I must continuously listen to when my program is run, additionally I am also listening to multicast udp reciever example I found in the Boost ASIO.













Boost asio serial port example