Boost logo

Boost Users :

Subject: Re: [Boost-users] C++ (boost) library for serial port communication
From: Alexander Dietz (alexworkswiss_at_[hidden])
Date: 2012-10-02 10:31:33


Hi,

this example is really useful, I created a class to talk to a serial
modem. However, the 'talking ' usually does not work! I am sending an
AT\r to the modem and wait for an OK. In most of the cases the code
waits and waits and waits and nothing is happening. Any ideas what to
check? Or what mailing list/forum to ask this question?

Thanks
 Alex

On Fri, Sep 28, 2012 at 8:39 AM, Andreas Wehrmann
<a.wehrmann_at_[hidden]> wrote:
> On 09/28/2012 01:58 AM, Lemay.Steve wrote:
>> I have the same need. It appears boost::asio provides a good place to
>> start. Here's an example I found.
>>
>> http://www.webalice.it/fede.tft/serial_port/serial_port.html
>>
>> I'd love to hear any other expert opinions on the best approach to this as
>> well.
>>
>> SGL
>> steven.lemay_at_[hidden]
>>
>>
>> Hello!
>>
>> I have already used this class to implement communication
>> with serial devices in a professional environment.
>> There's actually not much to say about it,
>> since its use is so easy and straightforward.
>>
>> Regards,
>>
>> Andreas
>
> I forgot to mention, that I've been using this on Windows as well as
> (embedded) Linux platforms.
> Am using it for controlling radio devices.
>
> Regards
>
>
> --
> Dipl.-Ing. (FH) Andreas Wehrmann
> Software Development
> --------------------------------------------------------------
> Center Communication Systems GmbH
> A-1210 Wien, Ignaz-Köck-Straße 19
> Sitz in Wien
> FN 796 88p, Firmenbuchgericht Wien
> www.centersystems.com
>
> Tel.: +43 (0) 190 199 - 3616
> Mobile: +43 (0) 664 884 75916
> Fax: +43 (0) 190 199 - 2110
> E-Mail: a.wehrmann_at_[hidden]
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://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