522
Platforms
©2000-2008 Tibbo Technology Inc.
. As such, the wln.networkstart will be rejected
(return 1- REJECTED) if another task is currently in progress. The task will also be
rejected if the Wi-Fi interface is in the associated state (
=
1- PL_WLN_ASSOCIATED), already runs its own network (
=
2- PL_WLN_OWN_NETWORK), or if the Wi-Fi hardware is not online (
= 0- NO). The method will return 0- ACCEPTED if the task is accepted for
processing.
The task is completed when the
R/O property becomes 0-
PL_WLN_TASK_IDLE. The
event will also be generated
at that time.
Task completion does not imply success -- the result has to be verified by reading
the state of tthe wln.associationstate read-only property after the task is
completed.
.Networkstop Method
Function:
Causes the Wi-Fi interface to commence the termination
of its own ad-hoc network.
Syntax:
wln.networkstop() as accepted_rejected
Returns:
One of accepted_rejected constants:
0- ACCEPTED.
1- REJECTED.
See Also:
Terminating Own Ad-hoc Network
,
Details
Ad-hoc network termination process is a
. As such, the wln.networkstop will
be rejected (return 1- REJECTED) if another task is currently in progress. The task
will also be rejected if the Wi-Fi hardware is not online (
= 0- NO).
The method will return 0- ACCEPTED if the task is accepted for processing.
The task is completed when the
R/O property becomes 0-
PL_WLN_TASK_IDLE. The
event will also be generated
at that time.
On_wln_event Event
Function:
Generated when the wln object detects disassociation
from the wireless network or the Wi-Fi hardware is
disconnected, powered-down, or is malfunctioning.
Declaration:
on_wln_event(wln_event as pl_wln_events)
See Also:
Detecting Disassociation or Offline State
Part
Description
500
514
514
519
528
523
512
500
500
519
528
523
513