Skip to content

Commit e39a46f

Browse files
tuxedo0801igrr
authored andcommitted
fixed bullet points on return codes
1 parent 42f3ef8 commit e39a46f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/esp8266wifi/readme.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,13 @@ Some functions provide more than just a binary status information. A good exampl
233233
234234
Serial.printf("Connection status: %d\n", WiFi.status());
235235
236-
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
236+
This function returns following codes to describe what is going on with Wi-Fi connection:
237+
238+
* 0 : ``WL_IDLE_STATUS`` when Wi-Fi is in process of changing between statuses
239+
* 1 : ``WL_NO_SSID_AVAIL``\ in case configured SSID cannot be reached
240+
* 3 : ``WL_CONNECTED`` after successful connection is established
241+
* 4 : ``WL_CONNECT_FAILED`` if password is incorrect
242+
* 6 : ``WL_DISCONNECTED`` if module is not configured in station mode
237243

238244
It is a good practice to display and check information returned by functions. Application development and troubleshooting will be easier with that.
239245

0 commit comments

Comments
 (0)