串口通过YMODEM协议进行文件传输。程序中涉及到YMODEM协议知识,详细介绍见维基百科YMODEM。
- 框架:Qt 5.7.1
- 编译器:MSVC2015_64bit
- IDE:Qt Creator 4.2.0 社区版
- 操作系统:Windows 10 专业版
串口通过 YMODEM 协议进行文件传输
串口通过YMODEM协议进行文件传输。程序中涉及到YMODEM协议知识,详细介绍见维基百科YMODEM。
SerialPortYmodem\Ymodem.cpp:1199: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
SerialPortYmodem\Ymodem.cpp:1347: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
SerialPortYmodem\Ymodem.cpp:1485: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
SerialPortYmodem\Ymodem.cpp:1610: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
SerialPortYmodem\Ymodem.cpp:1335: warning: Assigning field to itself
如题
void Ymodem::transmitStageEstablished()
{
...
case CodeAck:
{
...
memset(&(txBuffer[YMODEM_PACKET_HEADER]), 0x1A, YMODEM_PACKET_1K_SIZE);
...
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.