Syntax
VM_RESULT vm_wlan_roaming_set(
    VMBOOL is_roaming, 
    vm_wlan_callback callback, 
    void* user_data
);
ContentsIndex
PreviousUpNext
vm_wlan_roaming_set
Example
Syntax
VM_RESULT vm_wlan_roaming_set(
    VMBOOL is_roaming, 
    vm_wlan_callback callback, 
    void* user_data
);
Description

Sets the roaming parameter.

Parameters
Parameters 
Description 
VMBOOL is_roaming 
[IN] Specifies if roaming should be enabled or not. VM_TRUE means to enable the roaming; VM_FALSE means to disable the roaming. 
vm_wlan_callback callback 
[IN] The callback to be invoked by the WLAN layer. 
void* user_data 
[IN] Addition user data. 
Return Values
Return Values 
Description 
VM_WLAN_ERROR_SUCCESS 
Success.
 
VM_WLAN_ERROR_FAILED 
Failed.
 
VM_WLAN_ERROR_PROCESSING 
Waiting for result. 
Example
VMBOOL enable_roaming = VM_TRUE;
vm_wlan_roaming_set(enable_roaming, set_roaming_cb, NULL);

void set_roaming_cb(void* user_data, VM_WLAN_REQUEST_RESULT res)
{
    if (VM_WLAN_REQUEST_DONE == res)
    {
        // Set roaming successfully.
    }
}
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.