Syntax
VM_RESULT vm_wlan_get_parameter(
    VM_WLAN_MODE mode, 
    void* parameter
);
ContentsIndex
PreviousUpNext
vm_wlan_get_parameter
Example
Syntax
VM_RESULT vm_wlan_get_parameter(
    VM_WLAN_MODE mode, 
    void* parameter
);
Description

Gets the parameter under different modes. Currently, only VM_WLAN_MODE_AP and VM_WLAN_MODE_AP_STA are supported to get AP's SSID, Auth mode and Password. 

The caller should prepare the corresponding variables with proper types for parameter. The caller should prepare varible with proper type for "parameter" input parameter.

Parameters
Parameters 
Description 
VM_WLAN_MODE mode 
[IN] Specifies the WLAN mode. 
void* parameter 
[OUT] Containing the parameter upon the return of this function. vm_wlan_parameter_t for VM_WLAN_MODE_AP or VM_WLAN_MODE_AP_STA. 
Returns

VM_WLAN_ERROR_SUCCESS: Success. 

VM_WLAN_ERROR_FAILED: Failed. 

VM_WLAN_ERROR_INVALID_INPUT: Invalid input parameter(s).

Example
vm_wlan_parameter_t ap_param = {0};
vm_wlan_get_parameter(VM_WLAN_MODE_AP, (void*)&ap_param);
File

vmwlan.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.