Functions | |
void | WIFI_SetOption_GetOption (void) |
Function: WIFI_SetOption_GetOption. More... | |
void | WIFI_Scan (void) |
Function: WIFI_Scan. More... | |
void | WIFI_Activate_Deactivate (void) |
Function: WIFI_Activate_Deactivate. More... | |
void | WIFI_IsConnected (void) |
Function: WIFI_IsConnected. More... | |
void | WIFI_GetNetInfo (void) |
Function: WIFI_GetNetInfo. More... | |
void | WIFI_Activate_AP (void) |
Function: WIFI_Activate_AP. More... | |
void | WIFI_Activate_Station_WPS_PBC (void) |
Function: WIFI_Activate_Station_WPS_PBC. More... | |
void | WIFI_Activate_Station_WPS_PIN (void) |
Function: WIFI_Activate_Station_WPS_PIN. More... | |
void | WIFI_Activate_AP_WPS_PBC (void) |
Function: WIFI_Activate_AP_WPS_PBC. More... | |
void | WIFI_Activate_AP_WPS_PIN (void) |
Function: WIFI_Activate_AP_WPS_PIN. More... | |
These tests verify API and operation of the WiFi management functions.
void WIFI_SetOption_GetOption | ( | void | ) |
The test function WIFI_SetOption_GetOption verifies the WiFi Driver SetOption and GetOption functions. (Options: ARM_WIFI_BSSID, ARM_WIFI_MAC, ARM_WIFI_IP, ARM_WIFI_IP_SUBNET_MASK, ARM_WIFI_IP_GATEWAY, ARM_WIFI_IP_DNS1, ARM_WIFI_IP_DNS2, ARM_WIFI_IP_DHCP_POOL_BEGIN, ARM_WIFI_IP_DHCP_POOL_END are checked with buffer not aligned to 4 bytes).
Tests for each option is conditionally executed depending on WIFI_SETGETOPTION_... settings in DV_WiFi_Config.h file.
and
Function WIFI_SetOption_GetOption_BSSID tests ARM_WIFI_BSSID option.
Function WIFI_SetOption_GetOption_TX_POWER tests ARM_WIFI_TX_POWER option.
Function WIFI_SetOption_GetOption_LP_TIMER tests ARM_WIFI_LP_TIMER option.
Function WIFI_SetOption_GetOption_DTIM tests ARM_WIFI_DTIM option.
Function WIFI_SetOption_GetOption_BEACON tests ARM_WIFI_BEACON option.
Function WIFI_SetOption_GetOption_MAC tests ARM_WIFI_MAC option.
Function WIFI_SetOption_GetOption_IP tests ARM_WIFI_IP option.
Function WIFI_SetOption_GetOption_IP_SUBNET_MASK tests ARM_WIFI_IP_SUBNET_MASK option.
Function WIFI_SetOption_GetOption_IP_GATEWAY tests ARM_WIFI_IP_GATEWAY option.
Function WIFI_SetOption_GetOption_IP_DNS1 tests ARM_WIFI_IP_DNS1 option.
Function WIFI_SetOption_GetOption_IP_DNS2 tests ARM_WIFI_IP_DNS2 option.
Function WIFI_SetOption_GetOption_IP_DHCP tests ARM_WIFI_IP_DHCP option.
Function WIFI_SetOption_GetOption_IP_DHCP_POOL_BEGIN tests ARM_WIFI_IP_DHCP_POOL_BEGIN option.
Function WIFI_SetOption_GetOption_IP_DHCP_POOL_END tests ARM_WIFI_IP_DHCP_POOL_END option.
Function WIFI_SetOption_GetOption_IP_DHCP_LEASE_TIME tests ARM_WIFI_IP_DHCP_LEASE_TIME option.
void WIFI_Scan | ( | void | ) |
The test function WIFI_Scan verifies the WiFi Driver Scan function.
void WIFI_Activate_Deactivate | ( | void | ) |
The test function WIFI_Activate_Deactivate verifies the WiFi Driver Activate and Deactivate functions.
and
Testing sequence (for Station and Access Point):
void WIFI_IsConnected | ( | void | ) |
The test function WIFI_IsConnected verifies the WiFi Driver IsConnected function.
void WIFI_GetNetInfo | ( | void | ) |
The test function WIFI_GetNetInfo verifies the WiFi Driver GetNetInfo function.
void WIFI_Activate_AP | ( | void | ) |
The test function WIFI_Activate_AP verifies the WiFi Driver Activate function AP operation. Test result is checked by connecting WiFi client to AP.
void WIFI_Activate_Station_WPS_PBC | ( | void | ) |
The test function WIFI_Activate_Station_WPS_PBC verifies the WiFi Driver Activate function Station connection with WPS and Push-Button Configuration method. This test function requires that test Access Point has active Push-button WPS method when test is started. Usually started on the WiFi AP (router) by pressing the WPS button.
void WIFI_Activate_Station_WPS_PIN | ( | void | ) |
The test function WIFI_Activate_Station_WPS_PIN verifies the WiFi Driver Activate function Station connection with WPS and PIN method. This test function requires that test Access Point has active PIN WPS method when test is started. Usually needs to be configured on the WiFi AP (router).
void WIFI_Activate_AP_WPS_PBC | ( | void | ) |
The test function WIFI_Activate_AP_WPS_PBC verifies the WiFi Driver Activate function AP WPS and Push-Button Configuration method functionality. Test result is checked by connecting the WiFi client to AP with WPS Push-Button Configuration method.
void WIFI_Activate_AP_WPS_PIN | ( | void | ) |
The test function WIFI_Activate_AP_WPS_PIN verifies the WiFi Driver Activate function AP WPS PIN method functionality. Test result is checked by connecting the WiFi client to AP with WPS PIN method.