CMSIS-Driver Validation  
Driver Validation
 All Files Functions Variables Macros Groups Pages
Control

Functions

void WIFI_GetVersion (void)
 Function: WIFI_GetVersion. More...
 
void WIFI_GetCapabilities (void)
 Function: WIFI_GetCapabilities. More...
 
void WIFI_Initialize_Uninitialize (void)
 Function: WIFI_Initialize/Uninitialize. More...
 
void WIFI_PowerControl (void)
 Function: WIFI_PowerControl. More...
 
void WIFI_GetModuleInfo (void)
 Function: WIFI_GetModuleInfo. More...
 

Description

These tests verify API and operation of the WiFi control functions.

Function Documentation

void WIFI_GetVersion ( void  )

The test function WIFI_GetVersion verifies the WiFi Driver GetVersion function.

ARM_DRIVER_VERSION (*GetVersion) (void);
void WIFI_GetCapabilities ( void  )

The test function WIFI_GetCapabilities verifies the WiFi Driver GetCapabilities function.

ARM_WIFI_CAPABILITIES (*GetCapabilities) (void);
void WIFI_Initialize_Uninitialize ( void  )

The test function WIFI_Initialize_Uninitialize verifies the WiFi Driver Initialize and Uninitialize functions.

int32_t (*Initialize) (ARM_WIFI_SignalEvent_t cb_event);

and

int32_t (*Uninitialize) (void);

Testing sequence:

  • Initialize without callback
  • Uninitialize
  • Initialize with callback (if driver supports it)
  • Power on
  • Uninitialize
  • Initialize without callback
  • Power on
  • Power off
  • Uninitialize
void WIFI_PowerControl ( void  )

The test function WIFI_PowerControl verifies the WiFi Driver PowerControl function.

int32_t (*PowerControl) (ARM_POWER_STATE state);

Testing sequence:

  • Power off
  • Initialize with callback (if driver supports it)
  • Power off
  • Power on
  • Scan
  • Power low
  • Power off
  • Uninitialize
void WIFI_GetModuleInfo ( void  )

The test function WIFI_GetModuleInfo verifies the WiFi Driver GetModuleInfo function.

int32_t (*GetModuleInfo) (char *module_info, uint32_t max_len);