23 lines
559 B
C
23 lines
559 B
C
/**
|
|
* @file wifi.h
|
|
* @brief WiFi station mode initialization and management.
|
|
*
|
|
* This module initializes WiFi in station mode with static IP
|
|
* configuration. It handles connection and automatic reconnection.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "esp_err.h"
|
|
|
|
/**
|
|
* @brief Initialize WiFi in station mode.
|
|
*
|
|
* Configures WiFi with static IP address from Kconfig settings
|
|
* and connects to the configured access point. Blocks until
|
|
* connected or maximum retry count is reached.
|
|
*
|
|
* @return ESP_OK on success, ESP_FAIL on error.
|
|
*/
|
|
esp_err_t initWifi(void);
|