summaryrefslogtreecommitdiff
path: root/components/utilities/ymodem/ymodem.c
AgeCommit message (Collapse)Author
2026-02-27fix(ymodem): improve send read loop and unify session cleanupwdfk-prog
- Accumulate short reads, mark finishing on EOF - Track begin/end callback states and cleanup on error paths - Add ACK handling with retry/error counting in send flow
2025-09-06feat: Initialize local variables to prevent GCC compilation warningswdfk-prog
2024-10-07[Bug] [ymodem] last frame's data_sz issue, fixed.sulfurandcu
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-01-22[Ymodem]sy命令支持绝对路径传输wdfk-prog
* 接收错误流程优化
2022-12-05[ymodem]添加传输过程中的异常处理流程wdfk-prog
2022-10-23ymodem of send error (#6535)Maihuanyi
* modified ymodem.c to solve ymodem send file error * modified ry_sy.c to solve send file error of file data * Update ry_sy.c Co-authored-by: guo <[email protected]>
2022-04-20uniform code writing-disable interruptthewon86
2021-03-08[compoenets] auto & manual formattedMeco Man
2019-12-17[Util] fix the dependence of file feature in ymodemBernard Xiong
2019-12-13[components]: utilities: ymodem: Add ry_sy function.Steven Liu
Use "ry" to receive files and use "sy file_path" to send files. Default console uart and you can choose any other uart if you want. Signed-off-by: Steven Liu <[email protected]>
2019-02-21[components][ymodem]ymodem 握手阶段增加延时,防止数据接收不全zylx
2019-01-22ymodem support multiple files transmissionLyn
2018-10-29[Components] Change license to Apache License v2.0Bernard Xiong
2018-09-06[components][ymodem] 修复 ymodem 不支持 secureCRT 下 ↵MurphyZhao
1024字节传输的问题 Signed-off-by: MurphyZhao <[email protected]>
2018-08-23[component][ymodem] Fix compilation warning in MDKMurphyZhao
Signed-off-by: MurphyZhao <[email protected]>
2014-12-26ymodem: fix a race-condition in handshakingGrissiom
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-09-13[Ymodem]Add device open flag as input parameter to ymodem function.armink
2014-09-13[Ymodem]When active end the session, It can config send CAN number.armink
2014-07-14ymodem: refactor _rym_read_codeGrissiom
Make fast path fast and slow path slow.
2013-10-09components/utilities: add ymodemGrissiom
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.