WF_CPGetWepKeyType Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_CPGetWepKeyType Function
C
void WF_CPGetWepKeyType(
    UINT8 CpId, 
    UINT8 * p_wepKeyType
);
Description

Gets the WEP key type element for the specified Connection Profile. Allowable values are:

  • WF_SECURITY_WEP_SHAREDKEY (0)
  • WF_SECURITY_WEP_OPENKEY (1) - Default
Preconditions

MACInit must be called first.

Returns

None.

Remarks

Before MRF24W is connected to the AP/Router, calling this function will always return WF_SECURITY_WEP_OPENKEY (1) as the default.

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