.Enabled R/O Property

Top  Previous  Next


Indicates whether the Wi-Fi interface is operational.


Enum (no_yes, byte)

Value Range:

0- NO (default): The Wi-Fi interface is not operational.

1- YES: The Wi-Fi interface is operational.

See Also:

Bringing Up the Hardware, Detecting Disassociation or Offline State



The Wi-Fi hardware becomes operational after a successful boot using the wln.boot method, at which time wln.enabled is set to 1- YES.

The Wi-Fi interface is disabled and the wln.enabled is reset to 0- NO if the Wi-Fi hardware is disconnected, powered down, malfunctioned, or was intentionally reset. When this happens, the on_wln_event event is generated with its wln_event argument set to 0- PL_WLN_EVENT_DISABLED.