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
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
27enum {
35 AUTO_WIFI_LOG_ALL = BIT(0) | BIT(1) | BIT(2),
38};
39
46void auto_wifi_conn_log_configure(uint8_t tdf_logger_mask, uint8_t flags);
47
52#ifdef __cplusplus
53}
54#endif
55
56#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:29
@ AUTO_WIFI_LOG_FAILURES
Log WiFi network connection failures.
Definition wifi_conn_log.h:31
@ AUTO_WIFI_LOG_ALL
Log all WiFi connection events.
Definition wifi_conn_log.h:35
@ AUTO_WIFI_LOG_DISCONNECTION
Log WiFi network disconnects.
Definition wifi_conn_log.h:33
@ AUTO_WIFI_LOG_EVENTS_FLUSH
Automatically flush the logger when logging events.
Definition wifi_conn_log.h:37