错误码312013
设备: Dock2 + M3TD
当前固件版本: Dock2为10.01.1607, M3TD为10.01.1607
目标固件版本: Dock2为10.01.3205, M3TD为10.01.3205
目标固件地址: Dock2为https://terra-1-g.djicdn.com/cbcd35598c6a46819472eb8801a4c29e/Offline%20firmware/EA220/10.1.8/Dock2_10.01.32.05_pro.zip, M3TD为https://terra-1-g.djicdn.com/cbcd35598c6a46819472eb8801a4c29e/Offline%20firmware/EA220/10.1.8/M3TD_10.01.32.05_pro.zip
复现步骤如下:
1. 首先确定固件信息:
# curl -sL https://terra-1-g.djicdn.com/cbcd35598c6a46819472eb8801a4c29e/Offline%20firmware/EA220/10.1.8/M3TD_10.01.32.05_pro.zip | md5
d4a435a2895f807f37cce9ab54198881
# curl -sL https://terra-1-g.djicdn.com/cbcd35598c6a46819472eb8801a4c29e/Offline%20firmware/EA220/10.1.8/M3TD_10.01.32.05_pro.zip | wc -c
409600556
2. 然后给Dock2发消息:
{
"tid": "9f9dbd60-748a-48b6-a4d3-e406489a2712",
"bid": "66d46e03-20a6-4d1a-ac9d-3913cc8c66e8",
"timestamp": 1733366914758,
"method": "ota_create",
"data": {
"devices": [
{
"file_name": "M3TD_10.01.32.05_pro.zip",
"file_size": 409600556,
"file_url": "https://terra-1-g.djicdn.com/cbcd35598c6a46819472eb8801a4c29e/Offline%20firmware/EA220/10.1.8/M3TD_10.01.32.05_pro.zip",
"firmware_upgrade_type": 2,
"md5": "d4a435a2895f807f37cce9ab54198881",
"product_version": "10.01.32.05",
"sn": "1581F1Q8D311U00A0QB0"
}
]
}
}
3. 收到来自Dock2的消息1:
{
"tid": "9f9dbd60-748a-48b6-a4d3-e406489a2712",
"bid": "66d46e03-20a6-4d1a-ac9d-3913cc8c66e8",
"timestamp": 1733366914758,
"method": "ota_create",
"data": {
"output": {
"status": "in_progress"
},
"result": 0
}
}
4. 收到来自Dock2的消息2:
{
"tid": "08a947e4-6ebf-11ee-bf63-00155dcb7a3c",
"bid": "66d46e03-20a6-4d1a-ac9d-3913cc8c66e8",
"timestamp": 1733366985211,
"gateway": "7CTHZ8600B05K0",
"method": "ota_progress",
"need_reply": 1,
"data": {
"result": 312013,
"output": {
"status": "failed",
"progress": {
"percent": 0,
"current_step": 1
},
"ext": {
"rate": 0
}
}
}
}
请先登录再写评论。
评论
1 条评论