.Wepkey3 Property

Top  Previous  Next

 

Function:

Sets/returns the value of WEP key #3.

Type:

String

Value Range:

String length is fixed and depends on the WEP mode (wln.wepmode):

0 characters when wln.wepmode= 0- PL_WLN_WEP_MODE_DISABLED.

10 characters (hex digits) when wln.wepmode= 1- PL_WLN_WEP_MODE_64.

26 characters (hex digits) when wln.wepmode= 1- PL_WLN_WEP_MODE_128.

Default= "".

See Also:

Setting WEP Mode and Keys, wln.wepkey1, wln.wepkey2, wln.wepkey4

 


Details

Each character of the WEP key represents one HEX digit. Therefore, only characters "0".."9", "A".."F", and "a".."f" can be used. If any other character is detected in the string, then this character and the remainder of the string are not recognized and will be replaced with zeroes. If the supplied string is too long it will be automatically truncated. If the string is too short then it will be padded with zeroes.

New WEP key value is transferred into the Wi-Fi hardware with the invocation of the wln.setwep method.