SNMPIdRecrdValidation Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SNMPIdRecrdValidation Function
C
BOOL SNMPIdRecrdValidation(
    PDU_INFO * pduPtr, 
    OID_INFO * var, 
    BYTE * oidValuePtr, 
    BYTE oidLen
);
Description

This is a callback function called by SNMP module. SNMP user must implement this function as per SNMP version. One need to add the new SNMP MIB IDs hereas per SNMP version. e.g - SYS_UP_TIME (250) is common for V1/V2/V3 ENGINE_ID - is the part of V3, So put the all the SNMPv3 var ids within Macro STACK_USE_SNMPV3_SERVER.

Preconditions

None

Parameters
Parameters 
Description 
var 
Variable rec whose record id need to be validated 
oidValuePtr 
OID Value 
oidLen 
oidValuePtr length 
Return Values
Return Values 
Description 
TRUE 
If a Var ID exists . 
FALSE 
Otherwise. 
Remarks

None.

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