Hi, I have to read from an (virtual) comport to receive the event from a photosensor. There is no protocol, just if something passes through, there is at pin x power (pins 4,6 and 7,8). I've seen the example for the COM Port usage with asio, sofar I've not seen anything to monitor a single/multiple pins. http://www.nabble.com/Simple-serial-port-demonstration-with-boost-asio-async... Also I am not sure, if I need to, would it be enough, to just connect and then perform an async_read on the comport? Actually I don't have to get the data really, as its probably not really "data", all I need to know is when data comes in. Is asio the right library to handle this? Are there other options? regards Jens Weller -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Hi,
I have to read from an (virtual) comport to receive the event from a
There is no protocol, just if something passes through, there is at pin x
photosensor. power
(pins 4,6 and 7,8).
I've seen the example for the COM Port usage with asio, sofar I've not seen anything to monitor a single/multiple pins. http://www.nabble.com/Simple-serial-port-demonstration-with-boost-asio- asynchronous-I-O-td19849520.html
I'm also interested in COM communication with ASIO. Would you please tell me where I can find the example you mentioned? Thanks. B/Rgds Max
Hi Max, the link is the only valueable code I found so far. regards, Jens Weller -------- Original-Nachricht --------
Datum: Fri, 16 Jan 2009 09:05:38 +0800 Von: "Max"
An: boost-users@lists.boost.org Betreff: Re: [Boost-users] ASIO COM Port & Pins
Hi,
I have to read from an (virtual) comport to receive the event from a
There is no protocol, just if something passes through, there is at pin x
photosensor. power
(pins 4,6 and 7,8).
I've seen the example for the COM Port usage with asio, sofar I've not seen anything to monitor a single/multiple pins. http://www.nabble.com/Simple-serial-port-demonstration-with-boost-asio- asynchronous-I-O-td19849520.html
I'm also interested in COM communication with ASIO. Would you please tell me where I can find the example you mentioned?
Thanks. B/Rgds Max
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
participants (2)
-
Jens Weller
-
Max