[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] SNMP Traps V1 vs V2c

From: Trampas Stern
Subject: Re: [lwip-users] SNMP Traps V1 vs V2c
Date: Thu, 5 Dec 2019 11:02:35 -0500


I am trying to test traps and was wondering what you are using to receive SNMP trap messages? 


On Thu, Dec 5, 2019 at 5:21 AM Mário Luzeiro <address@hidden> wrote:
Hello all,

I'm facing the following issue.
I'm sending a
snmp_send_trap_generic (SNMP_GENTRAP_COLDSTART);

For debug proposes I'm sending it periodically(5 seconds).

If I set:
snmp_set_default_trap_version (SNMP_VERSION_1);

it works ok. I receive periodically. My SNMP software identifies it as a cold start.

If I set:
snmp_set_default_trap_version (SNMP_VERSION_2c);

It sends two Trap messages only with the following information:
Source:  Timestamp: 2 seconds
SNMP Version: 2   Trap OID: .
Community: public
Variable Bindings:
Name: .iso.org.dod.internet.mgmt.mib-2.system.sysUpTime
Value: [TimeTicks] 2 seconds (235)
Name: .
Value: [OID] .

After that, my system hangs on freeRTOS

If I pause the debugger it will stop on this line, please have a look at:
"11. I get stuck on the line that starts for( pxIterator = ( ListItem_t * ) &( pxList->xListEnd );"

So what could cause this issue by just changing V1 to V2c ?
Am I missing some configuration or handling to use V2c?

Mario Luzeiro
lwip-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]