• R
    Fixes INADDR_NONE (#6659) · ce2cd111
    Rodrigo Garcia 提交于
    Description of Change
    
    Fixes IPAddress INADDR_NONE declaration when using Arduino WiFi or ETH.
    This symbol was defined as 0xffffffff by lwip /inet.h, making it impossible to use INADDR_NONE correctly.
    
    This PR only works when <wifi-provisioning/wifi_config.h> has a modification to include <lwip/ip4_addr.h> instead of <lwip/inet.h>. This will be done directly to the sdk folder in the github structure and it has been fixed in IDF by a separated Merge Request. This will be reflected in the future, for good.
    
    Tests scenarios
    
    This PR was tested with all Arduino WiFi examples, including AsyncUDP. Also with ETH examples.
    It was also tested for #6610 test cases.
    Testing done for ESP32, ESP32-S2, ESP32-C3 and ESP32-S3.
    
    Related links
    
    fixes #6610
    fixes #6247
    fixes #4732
    ce2cd111
IPAddress.cpp 3.1 KB