7 Replies Latest reply on Jul 4, 2018 7:59 PM by ZhengbaoZ_96

    wifi_join takes multiple tries to succeed

    vmore_3321141

      I am trying to use the wifi_join() API, but I notice that it takes 2 or 3 tries for this call to successfully complete, and rarely completes successfully in the first try. I see the error:

      Unable to obtain IP address via DHCP    

      Join result 4: General error

      On the other hand the wiced_network_up() call succeeds on the same network in one try. Is there something I need to keep in mind when calling the wifi_join() API?

       

      I also noticed that the wifi_join API can be called only after the wiced_network_up() API has been called atleast once and has failed. Is there some initialization API that can be used instead of wiced_network_up() to initialize the network parameters?