ESP_ERROR_CHECK( esp_wifi_init(&cfg) ); ESP_ERROR_CHECK( esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL) ); ESP_ERROR_CHECK( esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL) ); ESP_ERROR_CHECK( esp_event_handler_regi...
&netif->hwaddr_len, netif->hwaddr, &netif->mtu,NULL);if(s <0) {returnERR_ARG;// RICH: Better error?}returnERR_OK; } 开发者ID:cya410,项目名称:libraries,代码行数:62,代码来源:ethernetif_driver.c 示例13: slipif_init ▲点赞 1▼ /** * SLIP netif initialization * * Call the arch...
#include"esp_netif.h" produces this error: Code:Select all esp_netif.h: No such fileordirectory lbernstone Posts:861 Joined:Mon Jul 22, 2019 3:20 pm Re: esp_netif_init(); Postbylbernstone»Wed Mar 03, 2021 3:14 pm arduino-esp32 1.0.5 is built on IDF 3.3. There is an optio...