Link Kit C-SDK
4.1.0
|
aiot_mqtt_upload_setopt 对应参数AIOT_MQTT_UPLOADOPT_FILE_OPTION的结构体 更多...
#include <aiot_mqtt_upload_api.h>
Public 属性 | |
char * | file_name |
uint32_t | file_size |
char * | mode |
void * | digest |
char * | extra_params |
aiot_mqtt_upload_read_handler_t | read_data_handler |
void * | userdata |
aiot_mqtt_upload_setopt 对应参数AIOT_MQTT_UPLOADOPT_FILE_OPTION的结构体
首先配置对应的文件信息,然后调用aiot_mqtt_upload_open_stream接口开始文件上传
char* aiot_mqtt_upload_file_opt_t::file_name |
uint32_t aiot_mqtt_upload_file_opt_t::file_size |
char* aiot_mqtt_upload_file_opt_t::mode |
void* aiot_mqtt_upload_file_opt_t::digest |
char* aiot_mqtt_upload_file_opt_t::extra_params |
aiot_mqtt_upload_read_handler_t aiot_mqtt_upload_file_opt_t::read_data_handler |
void* aiot_mqtt_upload_file_opt_t::userdata |