Disassociating From a Network

To disassociate from a network, use the wln.disassociate method. Note that wln.disassociate is a wln task and there is a certain correct way of handling tasks.

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

** Tibbo Basic **


'disassociate now
wln.disassociate
While wln.task<>PL_WLN_TASK_IDLE
Wend

When the Wi-Fi module disassociates from an access point, an on_wln_event(PL_WLN_EVENT_DISASSOCIATED) event is generated.