Skip to content

Commit 29615c6

Browse files
author
rivern yuan
committed
add sender include py and exe
1 parent 4b7825c commit 29615c6

File tree

3 files changed

+424
-1
lines changed

3 files changed

+424
-1
lines changed

readme.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,25 @@ sender = Modem(sender_read, sender_write,"rzsz") # 可选参数: rzsz|rbsb|p
6060

6161
### 命令行工具使用方法
6262

63-
待补充
63+
exe可执行文件,使用方法
64+
65+
至少需要两个参数,参数一为要传输的模块交互口串口号,格式COMXX;参数二为要传的文件信息,格式要求:
66+
67+
```
68+
[run_std_1.log, /usr/run_std_1.log]
69+
```
70+
71+
逗号前的参数为需要传入的文件的本地路径,建议使用绝对路径,逗号后的为传入到模块内的文件路径,必须使用绝对路径(模块内没有的路径会新建),参数前后使用中括号括起来,如果有多个文件按照这个格式在命令行中追加即可
72+
73+
后续多文件的传输将以 -F 文件名的形式来传入参数,在文件中按指定格式编辑即可
74+
75+
```python
76+
ymodem.exe "COM63" "[run_std_1.log, /usr/run_std_1.log]" ...
77+
```
78+
79+
注意:使用前需要模组端先传入接收协议代码,当前为demo测试版本需要自行传入,后续集成至固件之后不需要进行此步操作
80+
81+
将文件包中**ymodem.py**代码传入模块中即可
6482

6583
## 接收端使用方法
6684

ymodem.exe

6.22 MB
Binary file not shown.

0 commit comments

Comments
 (0)