AP menu
All checks were successful
ESP32 Build & Release / build (push) Successful in 6m40s

This commit is contained in:
2026-09-12 13:47:34 +02:00
parent d691febfe4
commit 3708674bbb
14 changed files with 289 additions and 120 deletions

View File

@@ -99,6 +99,23 @@ int wifi_manager_get_saved_profiles(wifi_profile_t *out_profiles, int max_count)
*/
esp_err_t wifi_manager_connect_new(const char *ssid, const char *password, bool save_to_nvs);
/**
* @brief Acquire exclusive network lock for heavy TLS / HTTPS operations.
* Prevents simultaneous TLS handshakes (OTA vs Scryfall) from exhausting SRAM.
*/
esp_err_t wifi_manager_acquire_net_lock(TickType_t timeout_ticks);
/**
* @brief Release exclusive network lock.
*/
void wifi_manager_release_net_lock(void);
/**
* @brief Set Wi-Fi modem power saving mode.
* @param enable True for WIFI_PS_MIN_MODEM (saves ~30-40 mA), False for WIFI_PS_NONE.
*/
esp_err_t wifi_manager_set_power_save(bool enable);
#ifdef __cplusplus
}
#endif