Commit fcc91967 authored by Luís Fonseca's avatar Luís Fonseca Committed by Marcel Stör
Browse files

Improve wifi documentation - prefer constants to hardcoded values (#1837)

parent be2a9df1
...@@ -993,14 +993,14 @@ Gets the current status in station mode. ...@@ -993,14 +993,14 @@ Gets the current status in station mode.
`nil` `nil`
#### Returns #### Returns
number: 0~5 The current state which can be one of the following:
- 0: STA_IDLE, - `wifi.STA_IDLE`
- 1: STA_CONNECTING, - `wifi.STA_CONNECTING`
- 2: STA_WRONGPWD, - `wifi.STA_WRONGPWD`
- 3: STA_APNOTFOUND, - `wifi.STA_APNOTFOUND`
- 4: STA_FAIL, - `wifi.STA_FAIL`
- 5: STA_GOTIP. - `wifi.STA_GOTIP`
# wifi.ap Module # wifi.ap Module
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment