_IsSNMPv3ValidStructure Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
_IsSNMPv3ValidStructure Function
C
BOOL _IsSNMPv3ValidStructure(
    UINT8* wholeMsgPtr, 
    WORD* pos, 
    WORD* dataLen
);
Description

This routine populates and validates the received variable for the data type as "STRUCTURE" and the data length for max 4 bytes.

Preconditions

None

Parameters
Parameters 
Description 
wholeMsgPtr 
Pointer to memory where int var value is be stored. 
pos 
position in the memory buffer where data taype to be varified is stored 
val 
Pointer to memory where int var value will be stored.
 
ReturnValues 
TRUE - If valid integer type and value is received. 
FALSE 
Other than integer data type and value received . 
Remarks

None.

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