Commit 4095c26b authored by dnc40085's avatar dnc40085 Committed by Marcel Stör
Browse files

Update documentation for wifi.sta.setaplimit() (#2017)

parent 583afc0f
...@@ -899,7 +899,10 @@ Set Maximum number of Access Points to store in flash. ...@@ -899,7 +899,10 @@ Set Maximum number of Access Points to store in flash.
- This value is written to flash - This value is written to flash
!!! Attention !!! Attention
If 5 Access Points are stored and AP limit is set to 4, the AP at index 5 will remain until [`node.restore()`](node.md#noderestore) is called or AP limit is set to 5 and AP is overwritten. New setting will not take effect until restart.
!!! Note
If 5 Access Points are stored and AP limit is set to 4, the AP at index 5 will remain until [`node.restore()`](node.md#noderestore) is called or AP limit is set to 5 and AP is overwritten.
#### Syntax #### Syntax
`wifi.sta.setaplimit(qty)` `wifi.sta.setaplimit(qty)`
...@@ -913,7 +916,7 @@ Set Maximum number of Access Points to store in flash. ...@@ -913,7 +916,7 @@ Set Maximum number of Access Points to store in flash.
#### Example #### Example
```lua ```lua
wifi.sta.setaplimit(true) wifi.sta.setaplimit(5)
``` ```
#### See also #### See also
......
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