Mario, I am trying to test traps and was wondering what you are using to receive SNMP trap messages?
Thanks Trampas On Thu, Dec 5, 2019 at 5:21 AM Mário Luzeiro <mrluze...@ua.pt> 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: 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 > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users