Initial kesp32_app_base component

This commit is contained in:
2026-10-04 11:42:27 +09:00
commit e4e4d78b26
25 changed files with 2073 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "esp_err.h"
#define WIFI_STORE_SSID_MAX_LEN 32
#define WIFI_STORE_PASSWORD_MAX_LEN 64
typedef struct {
char ssid[WIFI_STORE_SSID_MAX_LEN + 1];
char password[WIFI_STORE_PASSWORD_MAX_LEN + 1];
} wifi_store_credentials_t;
esp_err_t wifi_store_load(wifi_store_credentials_t *credentials, bool *found);
esp_err_t wifi_store_save(const wifi_store_credentials_t *credentials);
esp_err_t wifi_store_erase(void);