lwip-users
[Top][All Lists]
Advanced

[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 
work.

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 
start.

If I set:
snmp_set_default_trap_version (SNMP_VERSION_2c);

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

After that, my system hangs on freeRTOS

If I pause the debugger it will stop on this line, please have a look at:
https://www.freertos.org/FAQHelp.html
"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?

Regards,
Mario Luzeiro



reply via email to

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