Terminating Own Network

Top  Previous  Next

Use wln.networkstop to terminate your own network that was created by calling wln.networkstart.

Note that wln.networkstop is a task and there is a certain correct way of handling tasks.


Wln.networkstart will be rejected (return 1- REJECTED) if:

Another task is currently in progress.

The Wi-Fi add-on module is not booted using wln.boot (wln.enabled= 0- NO).

The Wi-Fi interface is not running its own network at the moment (wln.associationstate <> 2- PL_WLN_OWN_NETWORK).



'disassociate now


While wln.task<>PL_WLN_TASK_IDLE