mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
fixed bullet points on return codes
This commit is contained in:
parent
42f3ef86a4
commit
e39a46fe04
@ -233,7 +233,13 @@ Some functions provide more than just a binary status information. A good exampl
|
|||||||
|
|
||||||
Serial.printf("Connection status: %d\n", WiFi.status());
|
Serial.printf("Connection status: %d\n", WiFi.status());
|
||||||
|
|
||||||
This function returns following codes to describe what is going on with Wi-Fi connection: \* 0 : ``WL_IDLE_STATUS`` when Wi-Fi is in process of changing between statuses \* 1 : ``WL_NO_SSID_AVAIL``\ in case configured SSID cannot be reached \* 3 : ``WL_CONNECTED`` after successful connection is established \* 4 : ``WL_CONNECT_FAILED`` if password is incorrect \* 6 : ``WL_DISCONNECTED`` if module is not configured in station mode
|
This function returns following codes to describe what is going on with Wi-Fi connection:
|
||||||
|
|
||||||
|
* 0 : ``WL_IDLE_STATUS`` when Wi-Fi is in process of changing between statuses
|
||||||
|
* 1 : ``WL_NO_SSID_AVAIL``\ in case configured SSID cannot be reached
|
||||||
|
* 3 : ``WL_CONNECTED`` after successful connection is established
|
||||||
|
* 4 : ``WL_CONNECT_FAILED`` if password is incorrect
|
||||||
|
* 6 : ``WL_DISCONNECTED`` if module is not configured in station mode
|
||||||
|
|
||||||
It is a good practice to display and check information returned by functions. Application development and troubleshooting will be easier with that.
|
It is a good practice to display and check information returned by functions. Application development and troubleshooting will be easier with that.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user