1 /**
2  * @file aiot_state_api.c
3  * @brief 状态码模块实现
4  * @date 2019-12-27
5  *
6  * @copyright Copyright (C) 2015-2018 Alibaba Group Holding Limited
7  *
8  */
9 
10 #include "core_stdinc.h"
11 #include "aiot_state_api.h"
12 
13 aiot_state_logcb_t g_logcb_handler = NULL;
14 
aiot_state_set_logcb(aiot_state_logcb_t handler)15 int32_t aiot_state_set_logcb(aiot_state_logcb_t handler)
16 {
17     g_logcb_handler = handler;
18     return 0;
19 }
20 
21