B4R Question esp8266 Wifi Timeout

Discussion in 'B4R Questions' started by ludogomez, Mar 11, 2018.

  1. ludogomez

    ludogomez Member Licensed User


    I have an esp 8266 (Wemos mini) and I'm connect on wifi with wifi.connect2(ssid,pass).

    Sometimes, the board can't connect to the wifi and my sub stop and wait the response.
    But on my DHCP Server, I see the board and the server send a ip address.

    2 questions :
    - Why the board wait even the dhcp server send an address
    - If the board don't connect wifi, is it possible to continue after a timeout.

  2. Erel

    Erel Administrator Staff Member Licensed User

    This is handled internally in the ESP8266 libraries so it is impossible to say.

    There is a timeout of 15 seconds. It should return False and continue.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice