Page 1 of 1

RS232 communication

Posted: Tue Sep 29, 2009 4:52 pm
by michalm
Hello,

I need simple application listening on com port (linux). Is there any wx built in classes I can use to do this?

Posted: Tue Sep 29, 2009 6:27 pm
by timg

Posted: Tue Sep 29, 2009 8:08 pm
by michalm
Yes, I know it, but it seems to be too big and complicated, without any documentation (dead links)... and I was unable to compile it. I'm going to implement communication from scratch using open/write/read from C standard library, but I thought there are some built-in class in wxWidgets that will allow to do this more quickly.

Posted: Thu Oct 01, 2009 7:19 am
by jfouche
You can either have a look to boost::asio (look at serial_port)

Posted: Mon Oct 12, 2009 6:20 am
by lukas0815
michalm wrote:
Yes, I know it, but it seems to be too big and complicated, without any documentation (dead links)... and I was unable to compile it. I'm going to implement communication from scratch using ....
Hello,
after a while I could compile this library. If you get it to work, it does a good job, because it has all you need. With buffer, waiting for chars without blocking and so on. My opinion: Try further to get compile it, write the solution here and invest time in you application, not rewriting a class.

Links to documetation can be found in http://forums.wxwidgets.org/viewtopic.p ... ight=wxctb

Best regards!