Syntax
VM_RESULT vm_wlan_sniffer_off(
    vm_wlan_sniffer_off_callback callback, 
    void* user_data
);
ContentsIndex
PreviousUpNext
vm_wlan_sniffer_off
Example
Syntax
VM_RESULT vm_wlan_sniffer_off(
    vm_wlan_sniffer_off_callback callback, 
    void* user_data
);
Description

The function is used to close the sniffer in WLAN STA mode.

Parameters
Parameters 
Description 
vm_wlan_sniffer_off_callback callback 
[IN] The callback to be invoked by the sniffer. 
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_INVALID_INPUT 
Invalid input parameter(s).
 
VM_WLAN_ERROR_PROCESSING 
Waiting for result. 
Example
vm_wlan_sniffer_off(sniffer_off_cb, NULL);

void sniffer_off_cb(void* user_data, VM_WLAN_SNIFFER_RESULT res)
{
    if (VM_WLAN_SNIFFER_SUCCESS == res)
    {
        // Exits sniffer 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.