ContentsIndex
Example
vm_wlan_sniffer_on
vm_wlan_sniffer_on(NULL, sniffer_on_cb, NULL);

void sniffer_on_cb(void* user_data, vm_wlan_sniffer_on_result_t* res)
{
    switch (res->cb_type)
    {
        case VM_WLAN_SNIFFER_ON_RES:
        {
            if (res->result == VM_WLAN_SNIFFER_SUCCESS)
            {
                // Opens sniffer successfully.
            }
            break;
        }
        case VM_WLAN_SNIFFER_ON_AP_INFO:
        {
            if (res->result == VM_WLAN_SNIFFER_SUCCESS)
            {
                // Gets AP information successfully. The AP information is
                // stored in res->profile.
            }
            break;
        }
        default:
            break;
    }
}
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.