WF_CPSetNetworkType Function

Microchip TCP/IP Stack

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

Sets the Network Type element for 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.