2025-11-04 21:33:28 +00:00
|
|
|
#pragma once
|
2025-12-27 22:39:39 +00:00
|
|
|
#include <stdbool.h>
|
2025-11-04 21:33:28 +00:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
typedef void (*wifi_connected_cb_t)(void);
|
|
|
|
|
|
|
|
|
|
void wifi_config_portal_init(wifi_connected_cb_t cb, bool have_creds);
|
2025-12-27 22:39:39 +00:00
|
|
|
void wifi_clear_creds(void);
|
2025-11-04 21:33:28 +00:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|