![]() |
Morse Micro IoT SDK
2.9.7
|
This API provides a set of helper functions for loading configuration from Morse Micro Persistent Configuration Store.
Definition in file mm_app_loadconfig.h.
#include "mmipal.h"#include "mmwlan.h"
Go to the source code of this file.
Functions | |
| const struct mmwlan_s1g_channel_list * | load_channel_list (void) |
| Looks up country code and returns appropriate channel list. More... | |
| void | load_mmipal_init_args (struct mmipal_init_args *args) |
| Loads the provided structure with initialization parameters read from config store. More... | |
| void | load_mmwlan_sta_args (struct mmwlan_sta_args *sta_config) |
| Loads the provided structure with initialization parameters read from config store. More... | |
| void | load_mmwlan_settings (void) |
| Loads various WLAN-specific settings from config store and applies them. | |
| bool | country_code_in_regulatory_domain (const char *code) |
| Check whether the provided country code is within the current regulatory database. More... | |
| bool country_code_in_regulatory_domain | ( | const char * | code | ) |
Check whether the provided country code is within the current regulatory database.
| code | Country code to check |
| const struct mmwlan_s1g_channel_list * load_channel_list | ( | void | ) |
Looks up country code and returns appropriate channel list.
| void load_mmipal_init_args | ( | struct mmipal_init_args * | args | ) |
Loads the provided structure with initialization parameters read from config store.
If a specific parameter is not found then default values are used. Use this function to load defaults before calling mmipal_init().
| args | A pointer to the mmipal_init_args to return the settings in. |
| void load_mmwlan_sta_args | ( | struct mmwlan_sta_args * | sta_config | ) |
Loads the provided structure with initialization parameters read from config store.
If a specific parameter is not found then default values are used. Use this function to load defaults before calling mmwlan_sta_enable().
| sta_config | A pointer to the mmwlan_sta_args to return the settings in. |