FreeRTOS:
Wi-Fi Management Library
|
Return to main page ↑ |
Configuration settings of the Wifi library.
Configuration settings are C pre-processor constants. They can be set with a #
in the iot_config.h or by using a compiler option such as define
-D
in gcc. If a configuration setting is not defined, the library will use a "sensible" default value (unless otherwise noted). Because they are compile-time constants, a library must be rebuilt if a configuration setting is changed.
The Wi-Fi Management library does not have a configuration file provided, but the following identifiers must be #define'd
in any application using the Wi-Fi Management library. Example values for these identifiers can be found in aws_wifi_config.h from the AWS FreeRTOS demo for the specific board being used.
Note that some of these identifiers are only utilized by certain ports of the Wi-Fi library and may not have an effect on all boards.
Maximum number of connected stations in Access Point mode.
Example value: 4
Maximum number of network profiles stored in Non Volatile memory, set to zero if not supported.
Example value: 0
Maximum length of SSID for access points (used to allocate memory for SSID strings), not including a NULL terminator.
Example value: 32
Maximum length of BSSID for access points (used to allocate memory for BSSID strings), not including a NULL terminator.
Example value: 6
Maximum length of passphrase for access points (used to allocate memory for passphrase strings), not including a NULL terminator.
Example value: 32
This length is designated by the Wi-Fi driver as both the WPA PSK and Passphrase length.
Maximum time to wait in milliseconds for obtaining the Wi-Fi semaphore before failing the operation.
Example value: 60000