WF_CPGetIds Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
WF_CPGetIds Function
C
void WF_CPGetIds(
    UINT8 * cpIdList
);
Description

Returns a list of all Connection Profile IDs that have been created on the MRF24W. This is not to be confused with the Connection Algorithm's connectionProfileList. This function returns a bit mask corresponding to a list of all Connection Profiles that have been created (whether they are in the connectionProfileList or not). Any Connection Profiles that have been saved to FLASH will be included. 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_cpIdList 
Pointer to value representing the bit mask where each bit index (plus 1) corresponds to a Connection Profile ID that has been created. For example, if this value is 0x03, then Connection Profile IDïs 1 and and 2 have been created. 
Returns

None.

Remarks

None.

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