GetOIDStringByID Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
GetOIDStringByID Function
C
BOOL GetOIDStringByID(
    SNMP_ID id, 
    OID_INFO* info, 
    BYTE* oidString, 
    BYTE* len
);
Description

This routine is called when a OID string is required to be searched from MPFS using agent id. The string is saved with agent. TRAP pdu is send with this OID corresponding to the SNMP_ID used by the agent application to send the pdu.

Parameters
Parameters 
Description 
id 
System ID to use identify this agent. 
info 
Pointer to SNMP MIB variable object information 
oidString 
Pointer to store the string of OID serached 
len 
Oid length 
Return Values
Return Values 
Description 
TRUE 
If oid string is found for the variable id in MPFS. 
FLASE 
Otherwise. 
Remarks

This function is used only when TRAP is enabled.

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