Searched refs:tmp_ssid (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/linkkit/wifi_provision/p2p/ |
A D | awss_wps.c | 100 uint8_t tmp_ssid[ZC_MAX_SSID_LEN + 1] = { 0 }, in get_ssid_passwd_from_w() local 181 memset(tmp_ssid, 0, ZC_MAX_SSID_LEN); in get_ssid_passwd_from_w() 184 memcpy(tmp_ssid, in, ssid_len); in get_ssid_passwd_from_w() 190 awss_dict_crypt(SSID_DECODE_TABLE, tmp_ssid, ssid_len); in get_ssid_passwd_from_w() 235 awss_debug("ssid:%s, tlen:%d\r\n", tmp_ssid, total_len); in get_ssid_passwd_from_w() 238 strncpy((char *)zc_pre_ssid, (char const *)tmp_ssid, in get_ssid_passwd_from_w() 248 if (!is_ascii_string((uint8_t *)tmp_ssid)) { /* chinese ssid */ in get_ssid_passwd_from_w() 260 awss_warn("pre:%s < cur:%s\r\n", zc_pre_ssid, tmp_ssid); in get_ssid_passwd_from_w() 261 best_ssid = tmp_ssid; /* current ssid */ in get_ssid_passwd_from_w() 265 best_ssid = tmp_ssid; /* default use current ssid */ in get_ssid_passwd_from_w() [all …]
|
/AliOS-Things-master/components/linkkit/wifi_provision/zero_config/ |
A D | awss_enrollee.c | 170 uint8_t tmp_ssid[OS_MAX_SSID_LEN + 1] = { 0 }, in decrypt_ssid_passwd() local 214 memcpy(tmp_ssid, &p_ssid[1], p_ssid[0]); in decrypt_ssid_passwd() 215 awss_debug("Registrar ssid:%s", tmp_ssid); in decrypt_ssid_passwd() 216 printf("Registrar ssid:%s\r\n", tmp_ssid); in decrypt_ssid_passwd() 244 awss_debug("ssid:%s\r\n", tmp_ssid); in decrypt_ssid_passwd() 245 printf("ssid:%s, tmp_passwd:%s\r\n", tmp_ssid, tmp_passwd); in decrypt_ssid_passwd() 248 strncpy((char *)out_ssid, (const char *)tmp_ssid, OS_MAX_SSID_LEN - 1); in decrypt_ssid_passwd()
|
Completed in 5 milliseconds