VM_RESULT vm_wlan_sniffer_off( vm_wlan_sniffer_off_callback callback, void* user_data );
VM_RESULT vm_wlan_sniffer_off( vm_wlan_sniffer_off_callback callback, void* user_data );
The function is used to close the sniffer in WLAN STA mode.
|
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 |
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. |
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. } }
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.