$resource/up/service/${productid}/${devicename}$resource/down/service/${productid}/${devicename}$resource/up/service/${productid}/${devicename} to create a device resource upload task:{"type":"create_upload_task","size":100,"name":"zxc","md5sum":"************",}
$resource/down/service/${productid}/${devicename} with a message in JSON format with the following content:{"type":"create_upload_task_rsp","size":100,"name":"zxc","md5sum":"************","url":"https://iothub.cos.ap-guangzhou.myqcloud.com/********"}
$resource/up/service/${productid}/${devicename} with a message in JSON format with the following content:{"type":"report_upload_progress","name":"zxc","progress":{"state":"uploading","percent":89,"result_code":0,"result_msg":""}}
$resource/down/service/${productid}/${devicename} with a message in JSON format with the following content:{"type":"report_upload_progress_rsp","result_code":0,"result_msg":"ok"}
$resource/up/service/${productid}/${devicename} to query the download task:{"type":"get_download_task"}
$resource/down/service/${productid}/${devicename} with a message in JSON format with the following content:{"type":"get_download_task_rsp","size":372338,"name":"AAAA","md5sum":"a567907174*****3bb9a2bb20716fd97","url":"https://iothub.cos.ap-guangzhou.myqcloud.com/********"}
$resource/up/service/${productid}/${devicename} with a message in JSON format with the following content:{"type":"report_download_progress","name":"zxc","progress":{"state":"downloading","percent":89,"result_code":0,"result_msg":""}}
$resource/down/service/${productid}/${devicename} with a message in JSON format with the following content:{"type":"report_download_progress_rsp","result_code":0,"result_msg":"ok"}
Feedback