Syntax
VM_RESULT vm_wlan_disconnect(
    vm_wlan_callback callback, 
    void* user_data
);
ContentsIndex
PreviousUpNext
vm_wlan_disconnect
Example
Syntax
VM_RESULT vm_wlan_disconnect(
    vm_wlan_callback callback, 
    void* user_data
);
Description

Disconnects the current WLAN connection. After the WLAN disconnecting process is complete, the specified callback will be invoked.

Parameters
Parameters 
Description 
vm_wlan_callback callback 
[IN] The callback to notify the application that the disconnect operation is complete. 
void* user_data 
[IN] Additional user data for the callback. 
Example
// STA status is CONNECTED before calling vm_wlan_disconnect().
vm_wlan_disconnect(disconn_cb, NULL);
void disconn_cb(void* user_data, VM_WLAN_REQUEST_RESULT res)
{
     if (VM_WLAN_REQUEST_DONE == res)
     {
         // Disconnection succeeds.
     }
}
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.