Disassociating From the Network

Top  Previous  Next

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



'disassociate now


While wln.task<>PL_WLN_TASK_IDLE




Disassociation can be forced by the access point. Disassociation will also happen if the access point goes offline or out of range, or if the Wi-Fi hardware is powered down, reset, disconnected, or malfunctions. This will be detected by the wln object.