文件名称:flash_downloader
- 所属分类:
- 嵌入式/单片机编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2018-02-01
- 文件大小:
- 61.92kb
- 下载次数:
- 0次
- 提 供 者:
- holdingsky@126.com
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
* 1. DownloadRequest client -> server when download start
* Client inform server download start.
* 2. DownloadRequestReply server -> client reply DownloadRequest
* Server tell client file splitting plan.
* 3. DownloadStatus client -> server every 1 secnod after download request replyed
* 4. DownloadStatusReply server -> client reply DownloadStatus
* There are 6 status for every subfile: SUSPENDING, CREATING, CREATED, DOWNLOADING, DOWNLOADED, DONE.
* When server send DownloadRequestReply, the status of every subfile is set to SUSPENDING.
* At this time, server start several create subfile thread. Corresponding status is set to CREATING.
* When create subfile thread finished, corresponding status is set to CREATED.
* When client detect status of any subfile is CREATED, download them one by one. Set status to DOWNLOADING before download.
* When download operation finished, corresponding status is set to DOWNLOADED.
* When server detect status of any subfile is DOWNLOADED, delete it and corresponding status is set to DONE.
* Client inform server download start.
* 2. DownloadRequestReply server -> client reply DownloadRequest
* Server tell client file splitting plan.
* 3. DownloadStatus client -> server every 1 secnod after download request replyed
* 4. DownloadStatusReply server -> client reply DownloadStatus
* There are 6 status for every subfile: SUSPENDING, CREATING, CREATED, DOWNLOADING, DOWNLOADED, DONE.
* When server send DownloadRequestReply, the status of every subfile is set to SUSPENDING.
* At this time, server start several create subfile thread. Corresponding status is set to CREATING.
* When create subfile thread finished, corresponding status is set to CREATED.
* When client detect status of any subfile is CREATED, download them one by one. Set status to DOWNLOADING before download.
* When download operation finished, corresponding status is set to DOWNLOADED.
* When server detect status of any subfile is DOWNLOADED, delete it and corresponding status is set to DONE.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : flash_downloader.zip 列表 flash_downloader/ flash_downloader/fd_main.c flash_downloader/fd_main.h flash_downloader/fd_main.o flash_downloader/flash_downloader flash_downloader/flash_downloader接口描述.docx flash_downloader/makefile flash_downloader/usb_status.c flash_downloader/usb_status.h flash_downloader/usb_status.o flash_downloader/~$ash_downloader接口描述.docx