• okay, found out that after ESP32S serving as an AP, and connected with a client, then i need to disconnect it and wait for 10+ seconds before change it to station mode and connect to local wifi, however, after a minute or so, it will start to prompt errors :

    E (348565) MDNS_Networking: Cannot allocate memory (line: 34, free heap: 60 bytes)
    E (364028) MDNS: Cannot allocate memory (line: 113, free heap: 32 bytes)
    E (364132) MDNS_Networking: Cannot allocate memory (line: 34, free heap: 60 bytes)
    E (366178) MDNS: Cannot allocate memory (line: 113, free heap: 32 bytes)
    E (374166) MDNS_Networking: Cannot allocate memory (line: 34, free heap: 108 bytes)
    E (470118) MDNS: Cannot allocate memory (line: 113, free heap: 32 bytes)
    E (470425) MDNS: Cannot allocate memory (line: 113, free heap: 32 bytes)
    E (472170) MDNS: Cannot allocate memory (line: 113, free heap: 32 bytes)
    E (485172) MDNS: Cannot allocate memory (line: 113, free heap: 32 bytes)
    E (486402) MDNS: Cannot allocate memory (line: 113, free heap: 32 bytes)
    E (490277) event: post event to user fail!
    WARNING: Wifi:startMDNS - espressif
    WARNING: Wifi:stopMDNS
    
About

Avatar for Unreality @Unreality started