WF_CPGetNetworkType Function

Microchip TCP/IP Stack

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

Gets the Network Type element of the Connection Profile. Allowable values are:

  • WF_INFRASTRUCTURE
  • WF_ADHOC
  • WF_P2P
  • WF_SOFT_AP
Preconditions

MACInit must be called first.

Parameters
Parameters 
Description 
CpId 
Connection Profile ID 
networkType 
Type of network to create (infrastructure or adhoc or p2p or softAP) 
Returns

None.

Remarks

None.

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