LowLevel_CPGetElement Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
LowLevel_CPGetElement Function
C
static void LowLevel_CPGetElement(
    UINT8 CpId, 
    UINT8 elementId, 
    UINT8 * p_elementData, 
    UINT8 elementDataLength, 
    UINT8 dataReadAction
);
Description

All Connection Profile 'Get Element' functions call this function to construct the management message. The caller must fix up any endian issues prior to calling this function.

Preconditions

MACInit must be called first.

Parameters
Parameters 
Description 
CpId 
Connection Profile ID 
elementId 
Element that is being read 
p_elementData 
Pointer to where element data will be written 
elementDataLength 
Number of element data bytes that will be read 
dataReadAction 
If TRUE then read data per paramters and free mgmt response buffer. If FALSE then return after response received, do not read any data as the caller will do that, and don't free buffer, as caller will do that as well. 
Returns

None.

Remarks

None.

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