|
static void | _task_recv_notify_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _task_recv_get_reply_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _task_recv_update_reply_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static char * | _task_convert_status_to_str (aiot_task_status_t status) |
|
static aiot_task_status_t | _task_cover_status_to_enum (char *str) |
|
static int32_t | _task_parse_json (aiot_sysdep_portfile_t *sysdep, const void *input, uint32_t input_len, char *key_word, char **out) |
|
static int32_t | _task_parse_task_detail (task_handle_t *task_handle, const char *payload, uint32_t payload_len, task_desc_t *task) |
|
static void | _task_free_task_list (task_handle_t *task_handle, task_get_list_reply_t *list) |
|
static void | _task_free_task_detail (task_handle_t *task_handle, task_desc_t *task) |
|
static void | _task_free_update_reply (task_update_reply_t *reply) |
|
static int32_t | _task_send_notify_reply (task_handle_t *task_handle, char *msg_id, uint32_t code) |
|
static int32_t | _task_parse_notify (task_handle_t *task_handle, const char *payload, uint32_t payload_len, task_desc_t *task) |
|
static int32_t | _task_parse_get_list_reply_array (char *str, int32_t str_len, task_list_json *array) |
|
static uint32_t | _task_parse_get_list_reply (task_handle_t *task_handle, void *input, uint32_t input_len, task_get_list_reply_t *reply) |
|
static int32_t | _task_setup_topic_mapping (void *mqtt_handle, void *task_handle) |
|
static void | _task_core_mqtt_process_handler (void *context, aiot_mqtt_event_t *event, core_mqtt_event_t *core_event) |
|
static int32_t | _task_core_mqtt_operate_process_handler (task_handle_t *task_handle, core_mqtt_option_t option) |
|
static int32_t | _task_send_query_task (task_handle_t *task_handle, char *task_id) |
|
int32_t | aiot_task_get_task_list (void *handle) |
| 从云端获取task列表 更多...
|
|
int32_t | aiot_task_get_task_detail (void *handle, char *task_id) |
| 从云端获取task详细内容 更多...
|
|
int32_t | aiot_task_update (void *handle, task_desc_t *task) |
| 更新任务状态到云端 更多...
|
|
int32_t | aiot_task_setopt (void *handle, aiot_task_option_t option, void *data) |
| 设置task句柄的参数 更多...
|
|
void * | aiot_task_init (void) |
| 创建一个task实例 更多...
|
|
int32_t | aiot_task_deinit (void **p_handle) |
| 销毁task实例句柄 更多...
|
|
TASK模块接口实现文件, 其中包含了TASK的所有用户API.
- 日期
- 2019-12-27
- 版权所有
- Copyright (C) 2015-2018 Alibaba Group Holding Limited