IsSnmpv3ValidOID Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
IsSnmpv3ValidOID Function
C
static BOOL IsSnmpv3ValidOID(
    BYTE* oid, 
    BYTE* len
);
Description

In this routine, OID data type "ASN_OID" is verified in the received pdu. If the data type is matched, then only var bind is processed. OID length and OID is populated. The max OID length can be 15.

Preconditions

ProcessVariabels() is called.

Parameters
Parameters 
Description 
oid 
Pointer to memory to store the received OID string 
len 
Pointer to memory to store OID length 
Return Values
Return Values 
Description 
TRUE 
If value type is ASN_OID and oid length not more than 15. 
FALSE 
Otherwise. 
Remarks

None.

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