Snmpv3GetBufferData Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3GetBufferData Function
C
BYTE Snmpv3GetBufferData(
    SNMPV3MSGDATA getbuf, 
    UINT16 pos
);
Description

The SNMPv3 stack implementation uses dynamically allocated memory buffer for processing of request and response packets. This routine reads the BYTE data from the allocated buffer at the positions (offset) provided.

Preconditions

The SNMPv3 stack has sucessfully allocated dynamic memory buffer from the Heap

Parameters
Parameters 
Description 
getbuf 
Structure from where to read the data byte. 
pos 
position in the buffer from which the data to be read 
Return Values
Return Values 
Description 
BYTE 
1 byte value read 
Remarks

The read position offset is required to be provided every time the routine is called. This API do not increment the buffer read offset automatically, everytime it is called.

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