TCPIP_SNMP_ExactIndexGet Function

C

bool TCPIP_SNMP_ExactIndexGet(
    SNMP_ID var, 
    SNMP_INDEX * index
);

Description

This is a callback function called by SNMP module. This function contents are modified by the application developer with the new MIB Record ID. This function can be called for individual MIB ID with index. This function is used to get the first available index from global or dynamic allocated sequence variable table.

Preconditions

TCPIP_SNMP_ProcessVariables() is called.

Parameters

ParametersDescription
varVariable id as per mib.h (input).
indexIndex of variable (input).

Returns

  • True - If the exact index value exists for a given variable at a given index.

  • False - If the exact index value does not exist for the given variable.

Remarks

Only sequence index needs to be handled in this function and this function is called after TCPIP_SNMP_RecordIDValidation().