hi,
i'm working with qt, and i want communicate with a mbed system.
i know that the problem it's about qt, because i already checked diferents baud rates in other terminals. and that is working, i can saw the velocity change because the difference it's big, but when i connect with the qt program just works when the baud rate is 9600... leave me say you how i deffine my baude rate... i added qextserialportbase.cpp and .h and i'm changing here the baud rate, but i tryed chage in the code too, but don't works... just works when the baud rate is 9600
void QextSerialBase::construct()
{
Settings.BaudRate=BAUD115200;
Settings.DataBits=DATA_8;
Settings.Parity=PAR_NONE;
Settings.StopBits=STOP_1;
Settings.FlowControl=FLOW_HARDWARE;
Settings.Timeout_Millisec=500;
}
void QextSerialBase::construct()
{
Settings.BaudRate=BAUD115200;
Settings.DataBits=DATA_8;
Settings.Parity=PAR_NONE;
Settings.StopBits=STOP_1;
Settings.FlowControl=FLOW_HARDWARE;
Settings.Timeout_Millisec=500;
mutex = new QMutex( QMutex::Recursive );
setOpenMode(QIODevice::NotOpen);
}
To copy to clipboard, switch view to plain text mode
tks, Adriana
Bookmarks