PDA

View Full Version : qt < -- > mfc serial link



klitsuk
26th February 2009, 09:34
hi,

i'm working on two utils connected via serial rs232 (different comps).

can someone help implementing the communications on both sides ?

i've downloaded the (in)famous qestserial, however for some reason qt can only talk to qt, when ever i put a mfc listener on the line, it get messed up and instead on getting x byte, i'm getting 2-3 time that amount.

i know that rs232 is standard and it doesn't matter what talking to what, so i guess it has something to do with my settings.

please help.

thanks.
freddie

Lesiok
26th February 2009, 11:56
What do You mean "for some reason qt can only talk to qt" ? Qt and MFC have nothing to RS-232 standard and protocol implemented by Yours software.

SamT
26th February 2009, 15:06
This is not Qt related. But I use Portmon to debug serial link on Windows.
Check http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx

klitsuk
27th February 2009, 13:44
What do You mean "for some reason qt can only talk to qt" ? Qt and MFC have nothing to RS-232 standard and protocol implemented by Yours software.

well thank you for telling me something i already wrote on my thread. "rs232 is standard... it has to be something with the setting...".