Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Send QString by UART

$
0
0
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?

Viewing all articles
Browse latest Browse all 13965

Trending Articles