SNMPGetNextIndex Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SNMPGetNextIndex Function
C
BOOL SNMPGetNextIndex(
    SNMP_ID var, 
    SNMP_INDEX* index
);
Description

This is a callback function called by SNMP module. SNMP user must implement this function in user application and provide appropriate data when called. This function will only be called for OID variable of type sequence.

Preconditions

None

Parameters
Parameters 
Description 
var 
Variable id whose value is to be returned 
index 
Next Index of variable that should be transferred 
Return Values
Return Values 
Description 
TRUE 
If a next index value exists for given variable at given index and index parameter contains next valid index. 
FALSE 
Otherwise. 
Remarks

Only sequence index needs to be handled in this function.

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