Hi,
I try to send a QString by UART but only recieve one charcater.
This is my code:
QString word = “Hello”;
send = write(fd, word.toStdString().c_str(), strlen(word.toStdString().c_str()));
Only recieve H.
Any idea?
↧