TuyaOS
log_seq_netcfg.h
浏览该文件的文档.
1
10#ifndef __LOG_SEQ_NETCFG_H
11#define __LOG_SEQ_NETCFG_H
12
13#include "log_seq.h"
14
15// define log sequence object is "netcfg", include this head file can recorde log sequence to "netcfg" module
16#define LOGSEQ_OBJ "netcfg"
17
22typedef enum {
23 // generic
24 LOGSEQ_NETCFG_TIME = 0, // type:string, value:system time, location:NULL
25 LOGSEQ_NETCFG_TOKEN = 1, // type:string, value:device Token, location:NULL
26 LOGSEQ_NETCFG_TYPE = 9, // type:string, value:network configure type, location:NULL
27
28 // netcfg
29 LOGSEQ_NETCFG_FAIL = 10, // type:error code, value:reasons for network configuration failure, location:NULL
30
31 // route
32 LOGSEQ_NETCFG_LAST_STATUS = 20, // type: decimal number, value:previous network status, location:get_wf_gw_nw_status
33 LOGSEQ_NETCFG_NEW_STATUS = 21, // type: decimal number, value: new network status, location:get_wf_gw_nw_status
34 LOGSEQ_NETCFG_OTHERS_START = 22, // type: decimal number, value: exit type, location:__gw_net_conn_cb
36
37
38
39#endif
provide log sequence api
NETCFG_LOG_SEQ_E
define network configuration detail log sequence information user can easy know bug location from thi...
Definition: log_seq_netcfg.h:22