common_components: add wifi connect console commands

This commit is contained in:
Chen Yudong
2022-07-03 15:24:39 +08:00
parent c0312e3242
commit bf0e4943be
14 changed files with 756 additions and 493 deletions

View File

@@ -50,7 +50,7 @@ esp_err_t get_addr_from_stdin(int port, int sock_type, int *ip_protocol, int *ad
return ESP_OK;
}
#if CONFIG_LWIP_IPV6
#if CONFIG_EXAMPLE_CONNECT_IPV6
else if (cur->ai_family == AF_INET6) {
*ip_protocol = IPPROTO_IPV6;
*addr_family = AF_INET6;