Error handling on system boot (#30)

Implements #3

Reviewed-on: #30
Co-authored-by: localhorst <localhorst@mosad.xyz>
Co-committed-by: localhorst <localhorst@mosad.xyz>
This commit was merged in pull request #30.
This commit is contained in:
2026-05-10 12:39:47 +02:00
committed by Hendrik Schutter
parent 085f5b4acb
commit a7d577a948
16 changed files with 930 additions and 399 deletions
+20 -1
View File
@@ -1,3 +1,22 @@
/**
* @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
void initWifi(void);
#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);