Lines Matching refs:resp_data
74 wifi_prov_config_get_data_t resp_data; in cmd_get_status_handler() local
75 if (h->get_status_handler(&resp_data, &h->ctx) == ESP_OK) { in cmd_get_status_handler()
76 if (resp_data.wifi_state == WIFI_PROV_STA_CONNECTING) { in cmd_get_status_handler()
79 } else if (resp_data.wifi_state == WIFI_PROV_STA_CONNECTED) { in cmd_get_status_handler()
92 connected->ip4_addr = strdup(resp_data.conn_info.ip_addr); in cmd_get_status_handler()
98 connected->bssid.len = sizeof(resp_data.conn_info.bssid); in cmd_get_status_handler()
99 connected->bssid.data = (uint8_t *) strndup(resp_data.conn_info.bssid, in cmd_get_status_handler()
100 sizeof(resp_data.conn_info.bssid)); in cmd_get_status_handler()
107 connected->ssid.len = strlen(resp_data.conn_info.ssid); in cmd_get_status_handler()
108 connected->ssid.data = (uint8_t *) strdup(resp_data.conn_info.ssid); in cmd_get_status_handler()
116 connected->channel = resp_data.conn_info.channel; in cmd_get_status_handler()
117 connected->auth_mode = resp_data.conn_info.auth_mode; in cmd_get_status_handler()
118 } else if (resp_data.wifi_state == WIFI_PROV_STA_DISCONNECTED) { in cmd_get_status_handler()
122 if (resp_data.fail_reason == WIFI_PROV_STA_AUTH_ERROR) { in cmd_get_status_handler()
124 } else if (resp_data.fail_reason == WIFI_PROV_STA_AP_NOT_FOUND) { in cmd_get_status_handler()