_SNMPDuplexInit Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
_SNMPDuplexInit Function
C
void _SNMPDuplexInit(
    UDP_SOCKET socket
);
Description

As we process SNMP variables, we will prepare response on-the-fly creating full duplex transfer. Current MAC layer does not support full duplex transfer, so SNMP needs to manage its own full duplex connection. Prepare for full duplex transfer. Set the Tx and Rx offset to start of the buffer.

Preconditions

SNMPTask() is called.

Parameters
Parameters 
Description 
An active udp socket for which tx and rx offset to be set. 
Returns

None.

Remarks

This routine should be called for every new snmp packet received.

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