Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wifi_conn_log.h
Go to the documentation of this file.
1
9
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_AUTO_WIFI_CONN_LOG_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_AUTO_WIFI_CONN_LOG_H_
12
13#include <stdint.h>
14
15#include <zephyr/sys/util.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
27
28enum {
36 AUTO_WIFI_LOG_ALL = BIT(0) | BIT(1) | BIT(2),
39};
40
47void auto_wifi_conn_log_configure(uint8_t tdf_logger_mask, uint8_t flags);
48
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* INFUSE_SDK_INCLUDE_INFUSE_AUTO_WIFI_CONN_LOG_H_ */
void auto_wifi_conn_log_configure(uint8_t tdf_logger_mask, uint8_t flags)
Automatically log WiFi events.
@ AUTO_WIFI_LOG_CONNECTION
Log WiFi network connection successes.
Definition wifi_conn_log.h:30
@ AUTO_WIFI_LOG_FAILURES
Log WiFi network connection failures.
Definition wifi_conn_log.h:32
@ AUTO_WIFI_LOG_ALL
Log all WiFi connection events.
Definition wifi_conn_log.h:36
@ AUTO_WIFI_LOG_DISCONNECTION
Log WiFi network disconnects.
Definition wifi_conn_log.h:34
@ AUTO_WIFI_LOG_EVENTS_FLUSH
Automatically flush the logger when logging events.
Definition wifi_conn_log.h:38