SetErrorStatus Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SetErrorStatus Function
C
void SetErrorStatus(
    WORD errorStatusOffset, 
    WORD errorIndexOffset, 
    SNMP_ERR_STATUS errorStatus, 
    BYTE errorIndex
);
Description

This routine processes the received snmp Get request pdu for the variable binding in the request and also creates the response pdu.

Preconditions

ProcessVariables() is called.

Parameters
Parameters 
Description 
errorStatusOffset 
Offset to update error status in Response Tx pdu 
errorIndexOffset 
Offset to update error index 
errorStatus 
Snmp process error to be updated in response. 
errorIndex 
Index of the request varbind in the var bind list for which error status is to be updated. 
Returns

None.

Remarks

None.

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