esp_iot_framework  v0.1.0-alpha
© 2026 AmakeSasha, distributed under a license Apache-2.0
Constants

Default values and length limits. More...

Wi-Fi Configuration

Default values and validation limits for Wi-Fi profiles.

#define EIF_WIFI_SSID_DEFAULT   "ESP32_SETUP"
 Default SSID value.
 
#define EIF_WIFI_SSID_MIN_LEN   1U
 Minimum SSID length without null-terminator.
Example of the value: Q
 
#define EIF_WIFI_SSID_MAX_LEN   32U
 Maximum SSID length including null-terminator.
Example of the value: My_Super_Long_Wifi_Network_Name
 
#define EIF_WIFI_PASS_DEFAULT   "12345678"
 Default Password value.
 
#define EIF_WIFI_PASS_MIN_LEN   8U
 Minimum Password length for WPA2 without null-terminator.
Example of the value: 12345678
 
#define EIF_WIFI_PASS_MAX_LEN   64U
 Maximum Password length including null-terminator.
Example of the value: this_is_a_very_long_password_that_exactly_reaches_63_characters
 

Basic Auth Configuration

Validation limits for HTTP Basic Auth.

#define EIF_BASIC_AUTH_LINE_MIN_LEN   14U
 Minimum Line length without null-terminator.
Example of the value: Basic YWRtaW46
 
#define EIF_BASIC_AUTH_LINE_MAX_LEN   59U
 Maximum Line length including null-terminator.
Example of the value: Basic YWRtaW46MTIzNDU2Nzg5MHF3ZXJ0eTBxd2VydHkwcXdlcnR5MDE=
 
#define EIF_BASIC_AUTH_PASS_MIN_LEN   0U
 Minimum Password length without null-terminator.
Example of the value:
 
#define EIF_BASIC_AUTH_PASS_MAX_LEN   33U
 Maximum Password length including null-terminator.
Example of the value: 1234567890qwerty0qwerty0qwerty01
 

NVS Storage Keys

The keys used by the NVS module to access the values.

#define EIF_NVS_KEY_TLS_CERT   "eif_tls_cert"
 TLS certificate blob.
 
#define EIF_NVS_KEY_TLS_PRIV_KEY   "eif_tls_key"
 TLS private key blob.
 

Detailed Description

This module contains default values and limits for Wi-Fi, HTTP Basic Auth, and other system configuration parameters.