Analog Devices Wi-Fi Software Reference Manual  Release 1.0.0
adi_wifi_logevent.h
Go to the documentation of this file.
1 
49 /*****************************************************************************/
50 
51 #ifndef ADI_WIFI_LOGEVENT_H
52 #define ADI_WIFI_LOGEVENT_H
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif /* __cplusplus */
57 
58 typedef enum
59 {
60  /* Basic AT commands */
66  /* WiFi layer commands */
79  /* TCP/IP layer */
100 
101 #if (ADI_CFG_WIFI_LOGEVENT == 1)
102 #include <stdint.h>
103 
104 void adi_wifi_LogEvent(const ADI_WIFI_LOG_ID event);
105 void adi_wifi_LogEventData(const ADI_WIFI_LOG_ID event,const uint32_t data);
106 
107 #define ADI_WIFI_LOGEVENT(event) adi_wifi_LogEvent(event)
108 #define ADI_WIFI_LOGEVENT_DATA(event,data) adi_wifi_LogEventData(event,data);
109 
110 static inline uint32_t ADI_WIFI_GET_TIMESTAMP() {
111  return 0;
112  } // FIXME
113 
114 #else
115 #define ADI_WIFI_LOGEVENT(event)
116 #define ADI_WIFI_LOGEVENT_DATA(event,data)
117 #endif /* ADI_CFG_WIFI_LOGEVENT */
118 
119 #ifdef __cplusplus
120 }
121 #endif /* __cplusplus */
122 
123 #endif /* ADI_WIFI_LOGEVENT_H */
Definition: adi_wifi_logevent.h:63
Definition: adi_wifi_logevent.h:75
Definition: adi_wifi_logevent.h:64
Definition: adi_wifi_logevent.h:96
Definition: adi_wifi_logevent.h:84
Definition: adi_wifi_logevent.h:72
Definition: adi_wifi_logevent.h:91
Definition: adi_wifi_logevent.h:95
Definition: adi_wifi_logevent.h:83
ADI_WIFI_LOG_ID
Definition: adi_wifi_logevent.h:58
Definition: adi_wifi_logevent.h:74
Definition: adi_wifi_logevent.h:62
Definition: adi_wifi_logevent.h:61
Definition: adi_wifi_logevent.h:80
Definition: adi_wifi_logevent.h:94
Definition: adi_wifi_logevent.h:69
Definition: adi_wifi_logevent.h:68
Definition: adi_wifi_logevent.h:92
Definition: adi_wifi_logevent.h:67
Definition: adi_wifi_logevent.h:90
Definition: adi_wifi_logevent.h:70
Definition: adi_wifi_logevent.h:86
Definition: adi_wifi_logevent.h:81
Definition: adi_wifi_logevent.h:85
Definition: adi_wifi_logevent.h:89
Definition: adi_wifi_logevent.h:77
Definition: adi_wifi_logevent.h:87
Definition: adi_wifi_logevent.h:71
Definition: adi_wifi_logevent.h:76
Definition: adi_wifi_logevent.h:98
Definition: adi_wifi_logevent.h:93
Definition: adi_wifi_logevent.h:88
Definition: adi_wifi_logevent.h:82
Definition: adi_wifi_logevent.h:73