| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
原因tm = gmtime_r(&now, &tm_tmp);报错
|
|
原因 tm = gmtime_r(&now, &tm_tmp);报错
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1024字节传输的问题
Signed-off-by: MurphyZhao <[email protected]>
|
|
Signed-off-by: MurphyZhao <[email protected]>
|
|
|
|
|
|
|
|
|
|
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
|
|
|
|
|
|
|
|
As we are sending C continuously, there is a chance that the
sender(remote) receive an C after sending the first handshake package.
So the sender will interpret it as NAK and re-send the package. So we
just ignore it and proceed.
|
|
|
|
|
|
|
|
|
|
|
|
Frequent 'C' on the handshake will confuse some sender(lrzsz for
example).
|
|
Make fast path fast and slow path slow.
|
|
log_session_lvl is suitable for performance critical places where in
most cases, the log is turned off by level. If the session is const and
the level is greater than session->lvl, the whole function will be
optimized out.
|
|
Compiler may do more optimization when the parameter is const.
|
|
The first parameter of memmove is the dst, not src. Besides, fix the
wrong move size.
|
|
Real-YModem implemented a flexible YModem support. It use callback-based
structure to let the user application to deal with the data. It contains
3 examples:
1. echo.c: write the data recieved on YModem to an other device
2. null.c: discard the YModem data
3. tofile.c: write the data to the file system
Currently, it does not support batch file transmission.
|
|
|