|
On_wln_task_complete Event |
Top Previous Next |
Function: |
Generated when the Wi-Fi interface completes executing a certain task. |
Declaration: |
on_wln_task_complete(completed_task as pl_wln_tasks) |
See Also: |
Part |
Description |
completed_task |
The task just completed: 1- PL_WLN_TASK_SCAN: scan task completed (this task is initiated by the wln.scan method). 2- PL_WLN_TASK_ASSOCIATE: association task completed (this task is initiated by the wln.associate method). 3- PL_WLN_TASK_SETTXPOWER: TX power adjustment task completed (this task is initiated by the wln.settxpower method). 4- PL_WLN_TASK_SETWEP: WEP mode and keys setup task completed (this task is initiated by the wln.setwep method). 5- PL_WLN_TASK_DISASSOCIATE: disassociation task completed (this task is initiated by the wln.disassociate method). |
Details
The wln.task read-only property changes to 0- PL_WLN_TASK_IDLE along with this event generation. The wln object will only accept another task for execution after the previous task has been completed.
Multiple on_wln_task_complete events may be waiting in the event queue.