[Top][All Lists]

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

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

From: Mário Luzeiro
Subject: Re: [lwip-users] SNMP Traps V1 vs V2c
Date: Thu, 5 Dec 2019 16:32:33 +0000

Hi all,
solved, as most of the times, user problem :)
I found that it was due Thread stack size. I increased it and V2c started to 

Mario Luzeiro

From: Mário Luzeiro
Sent: 05 December 2019 10:20
To: address@hidden
Subject: SNMP Traps V1 vs V2c

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 

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

reply via email to

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