4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 07:39:21 +08:00

13 Commits

Author SHA1 Message Date
zylx
e2c0749d04 [components][ymodem]ymodem 握手阶段增加延时,防止数据接收不全 2019-02-21 11:09:41 +08:00
Lyn
626d0e9e06
ymodem support multiple files transmission 2019-01-22 13:58:59 +08:00
Bernard Xiong
8c1c6516b3 [Components] Change license to Apache License v2.0 2018-10-29 11:06:58 +08:00
MurphyZhao
dcbbb05f50 [components][ymodem] 修复 ymodem 不支持 secureCRT 下 1024字节传输的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-09-06 11:02:49 +08:00
MurphyZhao
3b161b58f2 [component][ymodem] Fix compilation warning in MDK
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-08-23 17:23:03 +08:00
Grissiom
d479960aac ymodem: fix a race-condition in handshaking
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.
2014-12-26 22:20:17 +08:00
armink
762f18d743 [Ymodem]Change tabs to space. 2014-09-14 14:52:00 +08:00
armink
987532967f [Ymodem]Change macro definition and code format. 2014-09-14 14:44:48 +08:00
armink
7121697a71 [Ymodem]Add device open flag as input parameter to ymodem function. 2014-09-13 11:22:01 +08:00
armink
ed57c7c32a [Ymodem]When active end the session, It can config send CAN number. 2014-09-13 11:15:48 +08:00
Grissiom
2aa51d42f9 ymodem: increase the default RYM_CHD_INTV_TICK
Frequent 'C' on the handshake will confuse some sender(lrzsz for
example).
2014-07-15 14:58:05 +08:00
Grissiom
ff1eb2cbc9 ymodem: refactor _rym_read_code
Make fast path fast and slow path slow.
2014-07-14 18:45:46 +08:00
Grissiom
5674198759 components/utilities: add ymodem
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.
2013-10-09 23:26:42 +08:00