ContentsIndex
Example
vm_wlan_connect
// STA status is ACTIVED before calling vm_wlan_connect().
vm_wlan_ap_info_t ap_info = {0};
strcpy(ap_info.ssid, "ssidexample");
ap_info.authorize_mode = VM_WLAN_AUTHORIZE_MODE_WPA_ONLY_PSK;
strcpy(ap_info.password, "ssidpwd");
vm_wlan_connect(&ap_info, conn_cb, NULL);
void conn_cb(void* user_data, vm_wlan_connect_result_t* res)
{
     if (VM_WLAN_SUCCESS == res->result)
     {
         // Connection succeeds.
     }
}
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.