.Task R/O Property

Top  Previous  Next

 

Function:

Indicates current wln 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: 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 is in progress (initiated by wln.settxpower).

4- PL_WLN_TASK_SETWEP: WEP mode and keys setup is in progress (initiated by wln.setwep).

5- PL_WLN_TASK_DISASSOCIATE: disassociation task is in progress (initiated by wln.disassociate).

See Also:

Wln Tasks

 


Details

The wln object will only accept another task for execution after the previous task has been completed (wln.task= 0- PL_WLN_TASK_IDLE). Whenever a task completes, an on_wln_task_complete event is generated.