Terminating Own Network
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).
** Tibbo Basic **
'disassociate now
wln.networkstop
While wln.task<>PL_WLN_TASK_IDLE
Wend