WF_CPGetDefaultWepKeyIndex Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_CPGetDefaultWepKeyIndex Function
C
void WF_CPGetDefaultWepKeyIndex(
    UINT8 CpId, 
    UINT8 * p_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 
p_defaultWepKeyIndex 
Pointer to index of WEP key to use. 
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.