WF_CPSetAdHocBehavior Function

Microchip TCP/IP Stack

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

Sets the AdHoc behavior within a Connection Profile. Allowable values are:

  • WF_ADHOC_CONNECT_THEN_START
  • WF_ADHOC_CONNECT_ONLY
  • WF_ADHOC_START_ONLY
Preconditions

MACInit must be called first.

Parameters
Parameters 
Description 
CpId 
Connection Profile ID 
adHocBehavior 
Value of the adhoc behavior for this connection profile. 
Returns

None.

Remarks

None.

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