This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil TCPnet stack-SNMP

Hi,

I am using the SNMP demo code for SNMP agent but i cant send trap message from agent, I configured everything that specified in help document of keil. see the code where i am sending trap message.

int main (void)
{ /* Main Thread of the TcpNet */

init (); init_display (); init_TcpNet ();

dhcp_tout = DHCP_TOUT; LED_out (0x55);

while (1) { timer_poll (); main_TcpNet (); dhcp_check (); if (LCDupdate == __TRUE) { upd_display (); snmp_trap (NULL, 6, 1, obj); } }
}

what is wrong in that code? any thing else i need to enable?

-pratheep.k

0