WF_CPSetDefaultWepKeyIndex Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_CPSetDefaultWepKeyIndex Function
C
void WF_CPSetDefaultWepKeyIndex(
    UINT8 CpId, 
    UINT8 defaultWepKeyIndex
);
Description

Only applicable if the Connection Profile security type is either WF_SECURITY_WEP_40 or WF_SECURITY_WEP_104. Since only WEP key index 0 is supported, this function is no longer needed.

Preconditions

MACInit must be called first.

Parameters
Parameters 
Description 
CpId 
Connection Profile ID 
defaultWepKeyIndex 
Use WEP key index 0. No longer supporting 4 WEP key indexes (0 - 3). 
Returns

None.

Remarks

Note that only WEP key index 0 amongst AP manufacturers is typically used. Using any of the other three keys may be unpredictable from brand to brand.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.