Tian Sen Wen

Results 350 comments of Tian Sen Wen

idf5.2 因为涉及到一些 tinyusb 组件的适配,可能需要一些时间。建议先基于 idf5.1 进行开发。

What is your idf version? Is there something wrong with idf, or is the esp-iot-bridge repository up to date?

The update for this part has not been synced to the **lwip** component yet. Please apply the following patch in the `esp-idf/components/lwip/lwip` submodule. ```c diff --git a/src/core/ipv4/ip4.c b/src/core/ipv4/ip4.c index a5c3dd55..a6106c90...

Are you saying that you want to send UDP broadcast through the USB interface to both the Ethernet and Wi-Fi SoftAP interfaces?

The current architecture does not support changing the gateway address of the interface, and any arbitrary changes will result in communication failure. The two patches above can achieve unicast and...

能否在示例里面增加一个定时 ping 的操作,如果以太网 netif 能够正常访问互联网,softap 理论上来说也是没问题的。

idf 里面有个 dhcpserver.c 文件,可以将 DHCPS_DEBUG 宏打开之后看一下,如果能抓空中包,可以配合抓包看下。

听您的描述是分配 ip 出了问题,那么您应该将 dhcps 的 debug 打开(https://github.com/espressif/esp-idf/blob/master/components/lwip/apps/dhcpserver/dhcpserver.c#L66)。

可以打印下内存确认下是否是内存不足了, ```c printf("free_heap_size:%d\r\n", esp_get_free_heap_size()); printf("free_internal_heap_size:%d\r\n", esp_get_free_internal_heap_size()); printf("minimum_free_heap_size:%d\r\n\r\n", esp_get_minimum_free_heap_size()); ```

Hello, thank you for your feedback. Although these warnings do not affect the functionality, we will work on optimizing and resolving these warnings in the future.