|
esp_iot_framework
v0.1.0-alpha
© 2026 AmakeSasha, distributed under a license Apache-2.0
|
Functions to retrieve current system configuration. More...
Data Structures | |
| struct | eif_wifi_test_result |
| Wi-Fi profile availability test result. More... | |
Functions | |
| uint8_t | eif_wifi_get_profiles_count (void) |
| Gets the total number of Wi-Fi profiles. More... | |
| uint8_t | eif_wifi_get_current_profile_index (void) |
| Gets the index of the currently active Wi-Fi profile. More... | |
| esp_err_t | eif_wifi_get_test_result (uint8_t index, eif_wifi_test_result *const out_result) |
| Gets the network availability test result for a specific Wi-Fi profile. More... | |
This module aggregates all functions used to query current operational flags, device parameters, and active configuration blocks.
eif_core_initialize() must be executed exactly once.| uint8_t eif_wifi_get_profiles_count | ( | void | ) |
Returns the number of Wi-Fi profiles stored in the system. It is set using eif_set_wifi_profiles_count().
Example of use:
| uint8_t eif_wifi_get_current_profile_index | ( | void | ) |
Returns the zero-based index of the active Wi-Fi profile currently in use.
Example of use:
| esp_err_t eif_wifi_get_test_result | ( | uint8_t | index, |
| eif_wifi_test_result *const | out_result | ||
| ) |
Copies the latest availability check result for the specified profile index into the out_result structure.
| index | Zero-based Wi-Fi profile index to query. Must be less than eif_wifi_get_profiles_count(). |
| out_result | Pointer to the structure where the result will be copied. Cannot be NULL. |
ESP_OK: Result was successfully fetched and copied.ESP_ERR_INVALID_ARG: The out_result pointer is NULL.ESP_ERR_INVALID_SIZE: The index is out of the possible range.Example of use: