On_wln_event Event

Top  Previous  Next

Function:

Generated when the wln object detects disassociation from the wireless network or the Wi-Fi hardware is disconnected, powered-down, reset, or is malfunctioning.

Declaration:

on_wln_event(wln_event as pl_wln_events)

See Also:

Detecting Disassociation or Offline State

on_wln_task_complete

 


Part

Description

wln_event

Registered event:

0- PL_WLN_EVENT_DISABLED: Wi-Fi hardware has been disconnected, powered down, or is malfunctioning.

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.