dest_addr.sin6_scope_id =esp_netif_get_netif_impl_index(EXAMPLE_INTERFACE); addr_family = AF_INET6; ip_protocol = IPPROTO_IPV6;#elifdefined(CONFIG_EXAMPLE_SOCKET_IP_INPUT_STDIN)structsockaddr_storagedest_addr = {0};ESP_ERROR_CHECK(get_addr_from_stdin(PORT, SOCK_STREAM, &ip_protocol, ...
esp_netif_get_ip_info(esp_netif_t *esp_netif, esp_netif_ip_info_t *ip_info); //获取当前IP地址相关信息 esp_netif_set_ip_info(esp_netif_t *esp_netif, const esp_netif_ip_info_t *ip_info); //设置当前IP地址相关信息 esp_netif_get_netif_impl_index(esp_netif_t *esp_netif); //获...
*/ wifi_event_group_handler = xEventGroupCreate(); /* 创建一个事件标志组 */ ESP_ERROR_CHECK(esp_event_loop_create_default());/* 创建默认事件循环,*/ esp_netif_t *sta_netif = esp_netif_create_default_wifi_sta();/* 创建一个默认的WIFI-STA网络接口,如果初始化错误,此API将中止。*/ as...
esp_event_base_tbase,int32_tevent_id,void*data);//自动启用TCP/IP协议(使能如DHCP的功能)esp_netif_action_stop(void*esp_netif,esp_event_base_tbase,int32_tevent_id,void*data);//停止向TCP/IP协议栈发送包esp_netif_action_got_ip(void
* - ESP_ERR_ESP_NETIF_IF_NOT_READY - interface status error * - ESP_ERR_NOT_SUPPORTED - mac not supported on this interface */ esp_err_t esp_netif_set_mac(esp_netif_t *esp_netif, uint8_t mac[]); /** * @brief Get the mac address for the interface instance * @param[in] es...
Consistent netif->status_callback (#8676) Make WiFi/Ethernet interface compatible with Arduino Ethernet API (#8645) Fix WiFi/Ethernet hostname management (#8626) Add WiFiClient::abort() (#8738) Provide wl_tcp_state as tcp_state alias (#8609) Do not call tcp/udp ::stopAll() when it is...
CONFIG_NETIF_IP_LOST_TIMER_INTERVAL=120 CONFIG_TCPIP_LWIP=y CONFIG_UNITY_ENABLE_FLOAT=y CONFIG_UNITY_ENABLE_DOUBLE=y # CONFIG_UNITY_ENABLE_COLOR is not set CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y # CONFIG_UNITY_ENABLE_FIXTURE is not set ...
get: sem=0x3fcedc18 I (739) wifi:Set ps type: 1 V (743) esp_adapter: thread sem get: sem=0x3fcedc18 D (745) esp_netif_lwip3: check: remote, if=0x3fcecc54 fn=0x4201593c 0x4201593c: esp_netif_dhcps_stop_api at /home/thunder/build/esp-idf/components/esp_netif/lwip/esp_netif...
CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=y # end of ESP NETIF Adapter # # PHY # CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y # CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION is not set CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=20 CONFIG_ESP_PHY_MAX_TX_POWER=20 # end of PHY ...
# CONFIG_LWIP_NETIF_API is not set CONFIG_LWIP_TCPIP_TASK_PRIO=18 # CONFIG_LWIP_TCPIP_CORE_LOCKING is not set # CONFIG_LWIP_CHECK_THREAD_SAFETY is not set CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES=y # CONFIG_LWIP_L2_TO_L3_COPY is not set # CONFIG_LWIP_IRAM_OPTIMIZATION is not...