.task R/O Property

Function:

Indicates the current task being executed.

Type:

Enum (pl_wln_tasks, byte)

Value Range:

  • 0 — PL_WLN_TASK_IDLE (default): No task is in progress
  • 1 — PL_WLN_TASK_SCAN: Passive scan task is in progress (initiated by wln.scan)
  • 2 — PL_WLN_TASK_ASSOCIATE: Association task is in progress (initiated by wln.associate)
  • 3 — PL_WLN_TASK_SETTXPOWER: TX power adjustment task is in progress (initiated by wln.settxpower)
  • 4 — PL_WLN_TASK_SETWEP: WEP mode and keys setup task is in progress (initiated by wln.setwep)
  • 5 — PL_WLN_TASK_DISASSOCIATE: Disassociation task is in progress (initiated by wln.disassociate)
  • 6 — PL_WLN_TASK_NETWORK_START: Ad-hoc network creation task is in progress (initiated by wln.networkstart)
  • 7 — PL_WLN_TASK_NETWORK_STOP: Ad-hoc network termination task is in progress (initiated by wln.networkstop)
  • 8 — PL_WLN_TASK_SETWPA: WPA mode and keys setup task is in progress (initiated by wln.setwpa)
  • 9 — PL_WLN_TASK_ACTIVESCAN: Active scan task is in progress (initiated by wln.activescan)

See Also:

Tasks, on_wln_task_complete