You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Connect to an external access point and specify the mode (WIFI_MODE_AP or WIFI_MODE_APSTA).
150
157
*
151
158
* The event handler will be called back with the outcome of the connection.
152
159
*
153
160
* @param [in] ssid The network SSID of the access point to which we wish to connect.
154
161
* @param [in] password The password of the access point to which we wish to connect.
155
162
* @param [in] waitForConnection Block until the connection has an outcome.
156
-
* @returns ESP_OK if successfully receives a SYSTEM_EVENT_STA_GOT_IP event. Otherwise returns wifi_err_reason_t - use GeneralUtils::wifiErrorToString(uint8_t errCode) to print the error.
163
+
* @param [in] mode WIFI_MODE_AP for normal or WIFI_MODE_APSTA if you want to keep an Access Point running while you connect
0 commit comments