Interface WiFiConnectCallback


public interface WiFiConnectCallback
Callback for WiFi.connect(...). Invoked once on the EDT.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onConnectResult(boolean connected, Throwable error)
    connected is true if the association succeeded.
  • Method Details

    • onConnectResult

      void onConnectResult(boolean connected, Throwable error)
      connected is true if the association succeeded. error is null on success and holds the rejection cause otherwise (cancelled by user, wrong password, unreachable AP, ...).