16 lines
314 B
C
16 lines
314 B
C
|
||
#pragma once
|
||
#ifdef __cplusplus
|
||
extern "C" {
|
||
#endif
|
||
|
||
#include <stdbool.h>
|
||
|
||
void wifi_cfg_init(void); // starts serial listener task
|
||
bool wifi_cfg_apply_from_nvs(void); // reads saved config and connects Wi‑Fi
|
||
void wifi_cfg_force_dhcp(bool enable); // for testing
|
||
|
||
#ifdef __cplusplus
|
||
}
|
||
#endif
|