BC260Y-CN DFOTA 应用指导
上海移远通信技术股份有限公司 3 / 28
目录
文档历史 ..................................................................................................................................................... 2
目录 ............................................................................................................................................................ 3
表格索引 ..................................................................................................................................................... 5
图片索引 ..................................................................................................................................................... 6
1 引言 ..................................................................................................................................................... 7
1.1. AT 命令说明 .............................................................................................................................. 7
1.1.1. 定义 ............................................................................................................................... 7
1.1.2. AT 命令语句 .................................................................................................................. 7
1.2. AT 示例声明 .............................................................................................................................. 8
2 CoAP DFOTA ..................................................................................................................................... 9
2.1. CoAP DFOTA 升级流程 ............................................................................................................ 9
2.1.1. 获取差分包 ................................................................................................................... 10
2.1.2. 上传差分包至 CoAP 服务器 ......................................................................................... 10
2.1.3. 检查网络状况 ............................................................................................................... 10
2.1.4. 执行 AT 命令升级固件 .................................................................................................. 10
2.2. CoAP DFOTA 命令详解 .......................................................................................................... 11
3 HTTP DFOTA ................................................................................................................................... 13
3.1. HTTP DFOTA 升级流程 .......................................................................................................... 13
3.1.1. 获取差分包 ................................................................................................................... 14
3.1.2. 上传差分包至 HTTP 服务器 ......................................................................................... 14
3.1.3. 检查网络状况 ............................................................................................................... 14
3.1.4. 执行 AT 命令升级固件 .................................................................................................. 14
3.2. HTTP DFOTA 命令详解 .......................................................................................................... 15
4 中国电信物联网平台 DFOTA ............................................................................................................. 17
5 中国移动 OneNET 平台 DFOTA ....................................................................................................... 18
6 DFOTA 相关 URC ............................................................................................................................. 19
6.1. +QIND: "FOTA","COAPSTART" CoAP 开始下载差分包 ....................................................... 19
6.2. +QIND: "FOTA","COAPEND",<dl_err> CoAP 差分包下载结果 ............................................ 19
6.3. +QIND: "FOTA","HTTPSTART" HTTP 开始下载差分包 ....................................................... 20
6.4. +QIND: "FOTA","DOWNLOADING",<percent> HTTP 差分包下载进度 ................................ 20
6.5. +QIND: "FOTA","HTTPEND" HTTP 差分包下载结果 ........................................................... 20
6.6. +QIND: "FOTA","START" 开始固件升级 ............................................................................... 21
6.7. +QIND: "FOTA","UPDATING" 固件升级进度 ........................................................................ 21
6.8. +QIND: "FOTA","END" 固件升级结果 .................................................................................. 21
6.9. +QIND: "FOTA","NOTSUPPORT" 协议不支持 ..................................................................... 22
7 举例 ................................................................................................................................................... 23
7.1. CoAP DFOTA 升级固件实例 ................................................................................................... 23
7.2. HTTP DFOTA 升级固件实例 ................................................................................................... 24
评论0
最新资源