Open GoogleCodeExporter opened 8 years ago
This is a show-stopping problem for me in building an SNMP-pollable temperature
monitor. Judging by the FreeMemory output to serial, there appears to be a
massive memory leak each time an SNMP request is made (or possibly responded
to). I can get two successful responses before the Arduino's Ethernet
functionality locks up. I'm using R47 and Arduino 1.0.1 as well. I can
confirm that output to my LCD and the functionality that doesn't require
Ethernet appears to still work after the Ethernet bits lock up. I'm new to
Arduino, so I'm still trying to figure out a good way to get better debugging
out of the IDE to figure out where the problem is.
Original comment by txt...@gmail.com
on 22 Sep 2012 at 5:43
It isn't a memory leak and is most likely an implementation issue.
Are you reading your temperature sensor(s) within the SNMP response function?
If so, this will cause issues due to latency.
Original comment by gionet.c...@gmail.com
on 15 Apr 2013 at 11:31
To see if it was my implementation, here is what I tried:
1) Removed all shields except for Ethernet
2) Opened the the example Agent.pde (included with the Agentuino download) in
the Arduino IDE
3) Modified only the MAC address to match my shield and IP address/mask/gateway
to fit my home network
4) Compiled and uploaded the Agent.pde example to my Uno
Using the standard Linux SNMP utilities, I can get up to two snmpget calls and
responses before any additional SNMP requests the Uno timeout.
If the included example implementation is broken, then I'm not sure it *is* an
implementation issue. I guess the example implementation could be incorrectly
coded, but I am not a programmer by trade and have not attempted to audit the
example code.
Original comment by txt...@gmail.com
on 16 Apr 2013 at 3:15
Original issue reported on code.google.com by
kboe...@googlemail.com
on 21 Jul 2012 at 7:55Attachments: