|
Link Kit C-SDK
4.0.0
|
mqtt_download模块收到从网络上来的报文时, 通知用户的报文内容 更多...
#include <aiot_mqtt_download_api.h>
Public 属性 | |
| aiot_mqtt_download_recv_type_t | type |
| 报文内容所对应的报文类型, 更多信息请参考aiot_mqtt_download_recv_type_t 更多... | |
| union { | |
| struct { | |
| char * filename | |
| 用户标准的文件名称,一般为设置的文件名 更多... | |
| uint32_t offset | |
| 文件的偏移 更多... | |
| uint32_t data_size | |
| 接收到的数据长度 更多... | |
| char * data | |
| 接收到的数据 更多... | |
| int32_t percent | |
| 接收到的数据 更多... | |
| int32_t file_lenth | |
| 文件的总大小 更多... | |
| } data_resp | |
| data_resp_type的说明 更多... | |
| } | data |
mqtt_download模块收到从网络上来的报文时, 通知用户的报文内容
| aiot_mqtt_download_recv_type_t aiot_mqtt_download_recv_t::type |
报文内容所对应的报文类型, 更多信息请参考aiot_mqtt_download_recv_type_t
| char* aiot_mqtt_download_recv_t::filename |
用户标准的文件名称,一般为设置的文件名
| uint32_t aiot_mqtt_download_recv_t::offset |
文件的偏移
| uint32_t aiot_mqtt_download_recv_t::data_size |
接收到的数据长度
| char* aiot_mqtt_download_recv_t::data |
接收到的数据
| int32_t aiot_mqtt_download_recv_t::percent |
接收到的数据
| int32_t aiot_mqtt_download_recv_t::file_lenth |
文件的总大小
| struct { ... } aiot_mqtt_download_recv_t::data_resp |
data_resp_type的说明
| union { ... } aiot_mqtt_download_recv_t::data |
1.8.11