Replies: 3 comments 2 replies
-
Seems like the code tries to send some packet (probably the DHCP request) while the interface isn't up yet. Also explains why it takes some time to get an IP ... the packet is tried to send too early and IIRC the embassy-net implementation will wait 10 seconds for the next try |
Beta Was this translation helpful? Give feedback.
-
After doing some more tests, adding more memory to heap doesn't help. Letting the device rest off for a while and turning it on brought back the issues. And along the way I saw another error code:
Recently there was another issue about slow to obtain IP, maybe it's related in some way: #3499 But the issues are also about connecting to WiFi, that's pre DHCP, isn't it? The interesting thing is that if I reset the device to get it connected:
Could it be due to the chips getting hotter or something and perform better RF wise maybe? I would consider also blaming my router, but another device always work perfectly and I never saw those warnings. |
Beta Was this translation helpful? Give feedback.
-
May I ask what kind of device this is? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I had/have issues with wifi on one esp32s3 device while on another everything is working great.
It's not that it didn't connect and didn't work, its just that sometimes connecting to wifi took long time, with errors that it was disconnected and getting IP could take long time or never succeed, but it is/was inconsistent.
The wifi code on both devices is exactly the same code.
The device model is different and the rest of the application is completely different.
I noticed a difference in logs where with the device with the issues I saw in the logs:
WARN - esp_wifi_internal_tx 12294
WARN - esp_wifi_internal_tx 12310
I couldn't find documentation for those warnings/errors, but found something that it may be related to memory/alignment.
I increase heap size and things seem to be better.
Could these issues be related to lack of memory? If so, why are they categorized as warning and not error?
Beta Was this translation helpful? Give feedback.
All reactions