|
.Enabled R/O Property |
Top Previous Next |
Function: |
Indicates whether the Wi-Fi interface is operational. |
Type: |
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: |
Booting Up the Hardware, Powering Down, Detecting Disassociation or Power-down |
Details
The Wi-Fi hardware becomes operational after a successful boot using the wln.boot method, at which time the wln.enabled is set to 0- NO. The Wi-Fi interface is disabled and the wln.enabled is reset to 0- NO if the Wi-Fi hardware is disconnected, powered down, or if it malfunctions. When this happens, the on_wln_event event is generated with its wln_event argument set to 0- PL_WLN_EVENT_DISABLED.