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

This commit is contained in:
dnc40085 2017-06-28 01:02:09 -07:00 committed by Marcel Stör
parent 583afc0f33
commit 4095c26bd0
1 changed files with 5 additions and 2 deletions

View File

@ -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.
#### Example #### Example
```lua ```lua
wifi.sta.setaplimit(true) wifi.sta.setaplimit(5)
``` ```
#### See also #### See also