|
Boost Users : |
Subject: Re: [Boost-users] ASIO?
From: Bo Zhou (bo.schwarzstein_at_[hidden])
Date: 2018-09-05 13:30:02
The boost.asio is for communication, not for the hardware management, so in
order to enumerate the port the program requires to call local API.
On Windows, check here
Once you have the port, just use boost.asio to communicate with it.
If you're not familiar with the usage of boost.asio, please read the
tutorial and examples for the network applications, the serial port is the
same.
Good luck.
On Wed, Sep 5, 2018 at 7:46 PM Tim Burgess via Boost-users <
boost-users_at_[hidden]> wrote:
> Hi,
>
>
>
> Iâm looking for a mechanism allowing me to enumerate serial (Com) ports on
> Windows/Mac. I also need to be able to retrieve the name of a given serial
> device. Iâve had a quick look at boost::asio, but it isnât clear to me if
> it can do what I want.
>
>
>
> Iâd be grateful for any advice, including alternatives if boost and/or
> ASIO arenât up to the job.
>
>
>
> Best wishes.
>
>
>
> Tim Burgess
>
> Raised Bar Ltd.
>
> E: tim_at_[hidden]
>
> M: +44 (0)7989 486976
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net