-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esp.emac: no mem for receive buffer #8843
Comments
As long as I start using Bluetooth communication, the network cable can not connect to the Internet, but the LAN can communicate, or connect to the Internet line communication, I go to use Bluetooth again, after a while the same, and then I try to release the Bluetooth FreeHeap Size:179336 after 120 seconds, but the network cable keeps appearing hostByName(): DNS Failed for and cannot be recovered until the device is restarted |
Bluetooth once started to occupy a lot, is there a way to optimize and reduce? FreeHeap BLE1 :191456 void initBLE(const char *name) |
I wonder if it is possible that I set ETH.config(), then removed it, and then the router recorded it, causing the problem? And how do I get dns1 and dns2 in config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1, IPAddress dns2)? Why am I getting Intranet ones and not something like 114.114.114.114 or 8.8.8.8? |
1 similar comment
I wonder if it is possible that I set ETH.config(), then removed it, and then the router recorded it, causing the problem? And how do I get dns1 and dns2 in config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1, IPAddress dns2)? Why am I getting Intranet ones and not something like 114.114.114.114 or 8.8.8.8? |
E (9267) esp.emac: no mem for receive buffer If [WiFiGeneric.cpp:1438] hostByName(): DNS Failed appears, it cannot be restored |
In addition, when you set ETH.config() and WiFi.config(), you cannot connect to the Internet when dns1 and dns2 are 0 |
NimBLE uses significantly less memory than the built-in library. |
Thank you, I will try this solution later, in fact, my biggest problem is the DNS Internet can not recover the problem, is there a way to solve this? |
Possibly related #8672 |
Board
ESP32-WROOM-32e
Device Description
platform = espressif32 @ ~5.2.0
for sdk = 4.4.2
Network cable allocation space is there is no memory, and can not be restored, I free FreeHeap after the same can not be restored, need to call which interface can be re-allocated?
[WiFiGeneric.cpp:1438] hostByName(): DNS Failed for ****
Hardware Configuration
Eth - for ETH_PHY_LAN8720
Version
latest master (checkout manually)
IDE Name
Platfrom
Operating System
macOS
Flash frequency
40Mhz
PSRAM enabled
yes
Upload speed
115200
Description
esp.emac: no mem for receive buffer
[WiFiGeneric.cpp:1438] hostByName(): DNS Failed for
When esp.emac: no mem for receive buffer is displayed, subsequent devices cannot be recovered, even if I release the stack
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: