8000 fix up comments on connectAP · fijimunkii/esp32-snippets@cc56443 · GitHub
[go: up one dir, main page]

Skip to content

Commit cc56443

Browse files
committed
fix up comments on connectAP
1 parent 18a03f9 commit cc56443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp_utils/WiFi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,15 @@ void WiFi::setDNSServer(int numdns, ip_addr_t ip) {
146146

147147

148148
/**
149-
* @brief Connect to an external access point and specify the mode (WIFI_MODE_AP or WIFI_MODE_APSTA).
149+
* @brief Connect to an external access point.
150150
*
151151
* The event handler will be called back with the outcome of the connection.
152152
*
153153
* @param [in] ssid The network SSID of the access point to which we wish to connect.
154154
* @param [in] password The password of the access point to which we wish to connect.
155155
* @param [in] waitForConnection Block until the connection has an outcome.
156156
* @param [in] mode WIFI_MODE_AP for normal or WIFI_MODE_APSTA if you want to keep an Access Point running while you connect
157-
* @return N/A.
157+
* @return ESP_OK if we are now connected and wifi_err_reason_t if not.
158158
*/
159159
uint8_t WiFi::connectAP(const std::string& ssid, const std::string& password, bool waitForConnection, wifi_mode_t mode){
160160
ESP_LOGD(LOG_TAG, ">> connectAP");

0 commit comments

Comments
 (0)
0