Home
last modified time | relevance | path

Searched refs:wifi_params (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/amp_adapter/platform/aos/network/
A Daos_wifi.c75 strncpy(params.params.wifi_params.ssid, ssid, sizeof(params.params.wifi_params.ssid) - 1); in aos_wifi_connect()
76 strncpy(params.params.wifi_params.pwd, passwd, sizeof(params.params.wifi_params.pwd) - 1); in aos_wifi_connect()
77 params.params.wifi_params.timeout = 60000; in aos_wifi_connect()
/AliOS-Things-master/components/ble_netconfig/
A Dblecfg_netmgr.c118 strncpy(netmgr_params.params.wifi_params.ssid, wifi_info->ssid, NETMGR_SSID_MAX_LEN); in BleCfg_wifi_connect()
119 strncpy(netmgr_params.params.wifi_params.pwd, wifi_info->passwd, NETMGR_PWD_MAX_LEN); in BleCfg_wifi_connect()
120 netmgr_params.params.wifi_params.timeout = 18000; in BleCfg_wifi_connect()
/AliOS-Things-master/components/py_engine/modules/network/
A Dmodnetwork.c325 memcpy(wifi_sta_config.wifi_params.ssid, p, in haas_wlan_connect()
326 MIN(len, sizeof(wifi_sta_config.wifi_params.ssid))); in haas_wlan_connect()
330 memcpy(wifi_sta_config.wifi_params.pwd, p, in haas_wlan_connect()
331 MIN(len, sizeof(wifi_sta_config.wifi_params.pwd))); in haas_wlan_connect()
335 if (len != sizeof(wifi_sta_config.wifi_params.bssid)) { in haas_wlan_connect()
338 wifi_sta_config.wifi_params.bssid_set = 1; in haas_wlan_connect()
339 memcpy(wifi_sta_config.wifi_params.bssid, p, in haas_wlan_connect()
340 sizeof(wifi_sta_config.wifi_params.bssid)); in haas_wlan_connect()
/AliOS-Things-master/hardware/board/haaseduk1/board_test/
A Dboard_test.c263 strncpy(params.params.wifi_params.ssid, ssid, sizeof(params.params.wifi_params.ssid) - 1); in mfg_wifi_connect()
264 strncpy(params.params.wifi_params.pwd, passwd, sizeof(params.params.wifi_params.pwd) - 1); in mfg_wifi_connect()
265 params.params.wifi_params.timeout = 15000; in mfg_wifi_connect()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_wifi.c174 …aos_printf("ssid %s, password %s\n", params->params.wifi_params.ssid, params->params.wifi_params.p… in netmgr_connect()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/netmgr/
A Dmodule_netmgr.c250 strncpy(params.params.wifi_params.ssid, ssid, sizeof(params.params.wifi_params.ssid) - 1); in native_netmgr_connect()
251 strncpy(params.params.wifi_params.pwd, password, sizeof(params.params.wifi_params.pwd) - 1); in native_netmgr_connect()
252 params.params.wifi_params.timeout = timeout_ms; in native_netmgr_connect()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/netmgr/
A Dmodule_netmgr.c313 strncpy(params.params.wifi_params.ssid, ssid, sizeof(params.params.wifi_params.ssid) - 1); in native_netmgr_connect()
314 strncpy(params.params.wifi_params.pwd, password, sizeof(params.params.wifi_params.pwd) - 1); in native_netmgr_connect()
315 params.params.wifi_params.timeout = timeout_ms; in native_netmgr_connect()
/AliOS-Things-master/components/linkkit/wrappers/os/
A DHAL_AWSS_rhino.c311 memcpy(params->params.wifi_params.ssid, ssid, strlen(ssid) + 1); in netmgr_comp_enable()
312 memcpy(params->params.wifi_params.pwd, password, strlen(password) + 1); in netmgr_comp_enable()
/AliOS-Things-master/components/netmgr/include/
A Dnetmgr.h164 netmgr_wifi_sta_params_t wifi_params; /**< wifi sta connect params*/ member
/AliOS-Things-master/components/netmgr/src/
A Dnetmgr_wifi.c2295 netmgr_wifi_sta_params_t* wifi_params; in netmgr_wifi_connect() local
2318 wifi_params = (netmgr_wifi_params_t*) params; in netmgr_wifi_connect()
2320 if(wifi_params->mode == NETMGR_WIFI_MODE_AP) { in netmgr_wifi_connect()
2323 } else if(wifi_params->mode != NETMGR_WIFI_MODE_STA) { in netmgr_wifi_connect()
2324 …MGR_WIFI_LOGE("%s:%d error: wifi mode %d is not support\n", __func__, __LINE__, wifi_params->mode); in netmgr_wifi_connect()
2328 wifi_params = (netmgr_wifi_sta_params_t*)params; in netmgr_wifi_connect()
2330 ssid = wifi_params->ssid; in netmgr_wifi_connect()
2331 pwd = wifi_params->pwd; in netmgr_wifi_connect()
2333 time_ms = wifi_params->timeout; in netmgr_wifi_connect()

Completed in 23 milliseconds