WF_CPCreate Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_CPCreate Function
C
void WF_CPCreate(
    UINT8 * p_CpId
);
Description

Connection Profile Functions 

Requests the MRF24W to create a Connection Profile (CP), assign it an ID, and set all the elements to default values. The ID returned by this function is used in other connection profile functions. A maximum of 2 Connection Profiles can exist on the MRF24W. Users are encouraged to use 1 profile ID for MRF24W based on v5 stack SW. In v6 stack SW, plan is to have 1 profile ID for MRF24W but stack will be designed to have capability to handle multiple profiles.

Preconditions

MACInit must be called first.

Parameters
Parameters 
Description 
p_CpId 
Pointer to where Connection Profile ID will be written. If function fails, the CP ID will be set to 0xff. 
Returns

None.

Remarks

None.

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