Use:QT SerialPort + Socket;
Develoment : Windows + Qt;
Description : A Serial,Tcp And Udp master Based On Qt. Test on stm32(keil);
My Code Is Based On MIT's student git and csdn blog; Thanks for MIT's student and csdn blog.You can find them in git.
You Can Change Your Command In SocketTestQ.cpp;