VM_RESULT vm_wlan_disconnect( vm_wlan_callback callback, void* user_data );
VM_RESULT vm_wlan_disconnect( vm_wlan_callback callback, void* user_data );
Disconnects the current WLAN connection. After the WLAN disconnecting process is complete, the specified callback will be invoked.
|
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. |
// 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. } }
vmwlan.h
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.