.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 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).

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.