WePE系统安装软件 winpe
WePE系统安装软件 winpe
/发送串口数据 QString MainWindow::sendUartData(QString data,bool isHex,bool hasTimerStamp,bool isAT) { curDateTime = QDateTime::currentDateTime(); QString command = ""; QString showBuff = ""; command.append(data); if(isAT){ command.append("\r\n"); } if(hasTimerStamp){ // QString tempStr = "\r\n"+curDateTime.toString("[yyyy-MM-dd hh:mm:ss]")+"S:"; QString tempStr = "\r\n"+curDateTime.toString("[hh:mm:ss]")+"S:"; showBuff = tempStr + command
这是本人用Java语言,采用udp协议实现的一个网络通信客户端,一个程序你只需要打开两个端口,更改下端口号就可以通信