On_wln_event Event

Top  Previous  Next

Function:

Generated when the wln. object detects disassociation from the wireless network, the Wi-Fi interface is disabled by calling wln.disable, or the Wi-Fi hardware is disconnected, powered-down, reset, or have malfunctioned.

Declaration:

on_wln_event(wln_event as pl_wln_events)

See Also:

Detecting Disassociation or Offline State

 

 


 

Part

Description

wln_event

0- PL_WLN_EVENT_DISABLED: wln.disable was invoked, or the Wi-Fi hardware has been disconnected, powered down, or has malfunctioned.

1- PL_WLN_EVENT_DISASSOCIATED: Wi-Fi interface has been disassociated from the wireless network.

Details

Multiple on_wln_event events may be waiting in the event queue. For this reason the doevents statement will be skipped (not executed) if encountered within the event handler for this event or the body of any procedure in the related call chain.