528
Platforms
©2000-2008 Tibbo Technology Inc.
Part
Description
wep
key
A string containing new WEP key. This is a "HEX strings" -- each
character in the string represents one HEX digit. The string must contain
10 HEX digits for 64-bit WEP and 26 HEX digits for 128-bit WEP.
Excessive digits are ignored. Missing digits are assumed to be 0.
wep
mod
e
WEP mode to set:
0- PL_WLN_WEP_MODE_DISABLED: WEP is to be disabled.
1- PL_WLN_WEP_MODE_64: 64-bit WEP is to be used.
0- PL_WLN_WEP_MODE_128: 128-bit WEP is to be used.
Details
The WEP mode must be set prior to performing association (
) or
starting own ad-hoc network (
).
Changing WEP mode and keys is a
. As such, the wln.setwep 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), is running 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.
Notice that only one WEP key (wepkey1) is used by the wln object.
.Ssid Property
Obsolete.
This parameter is now supplied directly, as the argument for the
method.
.Task R/O Property
Function:
Indicates current wln task being executed.
Type:
Enum (pl_wln_tasks, byte)
513
521
500
514
514
519
528
523
513