comino / agentuino Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/agentuino
Automatically exported from code.google.com/p/agentuino
What steps will reproduce the problem?
1. Arduino IDE 1.0.5
2. Using the Example Agent (only changing the network config)
3. snmpget -v1 -r1 -c public 192.168.111.118 sysUpTime.0
What is the expected output? What do you see instead?
Expect the system to return the uptime of the Arduino,
But I get "Timeout: No Response from 192.168.111.118"
What version of the product are you using? On what operating system?
Using version 1.0.5 IDE on Windows 7.
Please provide any additional information below.
All 7 commands return the Timeout message, but I can see the this in the
Console window:
SNMP Agent Initalized...
UDP Packet Received Start.. RAM:1032
sysUpTime...300 4
Original issue reported on code.google.com by [email protected]
on 10 Jul 2013 at 2:07
What steps will reproduce the problem?
1. Create a simple function and embed it in the Main-Loop.
2. Submit an SNMP-Request to Agentuino - you will receive a valid reply.
3. Arduino will stop working with the next call to a self-defined Function.
What is the expected output? What do you see instead?
Before answering any SNMP Requests the embedded Funtion will work properly.
After having answered an SNMP Request Arduino will stall next time that
function is called.
What version of the product are you using? On what operating system?
Agentuino R47, Arduino 1.0.1
Please provide any additional information below.
I extended the Example to include a Function "breakMe(String)" and placed in in
the Main-Loop. This will cause Ardunio to stall after serving an SNMP-Request
(and never recover):
~# snmpget -c public -v 1 172.16.0.30 ".1.3.6.1.2.1.1.3.0"
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (900) 0:00:09.00
~# snmpget -c public -v 1 172.16.0.30 ".1.3.6.1.2.1.1.3.0"
Timeout: No Response from 172.16.0.30.
Original issue reported on code.google.com by [email protected]
on 21 Jul 2012 at 7:55
Attachments:
how to work for chip enc28j60? can work and how to do that?
Original issue reported on code.google.com by [email protected]
on 8 May 2014 at 9:19
is there any agentuino implementaion that support WIFI rather than ethernet ?
Original issue reported on code.google.com by [email protected]
on 16 Nov 2014 at 10:30
What steps will reproduce the problem?
Use the SNMP GET command whith the Read Write Community Name
What is the expected output? What do you see instead?
Agentduino should return with an SNMP GET RESPONSE
My work around for now in the requestPdu class:
} else if ( (pdu->type == SNMP_PDU_GET || pdu->type == SNMP_PDU_GET_NEXT) && comLen == _getSize ) {
Serial << "SNMPGET Test Comm Name" << endl;
bool RWAuth = true;
bool RoAuth = true;
for ( i = 0; i < _getSize; i++ ) {
if( _packet[verEnd + 3 + i] != (byte)_getCommName[i] ) {
RoAuth = false;
}
if( _packet[verEnd + 3 + i] != (byte)_setCommName[i] ) {
RWAuth = false;
}
}
if (RoAuth == false && RWAuth == false)
{
// set pdu error
pdu->error = SNMP_ERR_NO_SUCH_NAME;
return SNMP_API_STAT_NO_SUCH_NAME;
}
Original issue reported on code.google.com by [email protected]
on 22 Feb 2015 at 9:50
Add "fromString" for SNMP GET NEXT function.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2013 at 12:37
Attachments:
Install this library
Arduino IDE: http://arduino.cc/en/Main/Software
Streaming Library ( http://arduiniana.org/libraries/streaming/ )
Flash Library ( http://arduiniana.org/libraries/flash/ )
MemoryFree Library ( http://www.arduino.cc/playground/Code/AvailableMemory )
Agentuino Library.
Endless compilation on windows 7 and 8
Original issue reported on code.google.com by [email protected]
on 13 May 2015 at 3:57
Implementation of SNMP GET NEXT to suit.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2013 at 12:50
Wrong community name and arduino totally hangs up.
Original issue reported on code.google.com by [email protected]
on 27 Jul 2013 at 8:51
Attachments:
In SNMP example i've changed
api_status = Agentuino.begin();
to
api_status = Agentuino.begin("com1","com2",161);
After that, for example:
c:\usr\bin>snmpget -v 1 -c com1 192.168.1.177 1.3.6.1.2.1.1.6.0
SNMPv2-MIB::sysLocation.0 = STRING: Nova Scotia, CA
c:\usr\bin>snmpget -v 1 -c commm 192.168.1.177 1.3.6.1.2.1.1.6.0
Timeout: No Response from 192.168.1.177.
And in serial monitor it looks like this:
SNMP Agent Initalized...
UDP Packet Received Start.. RAM:6701
sysLocation...Nova Scotia, CA 15
UDP ��WUýü
And arduino totally hangs up. How can I fix that?
Original issue reported on code.google.com by [email protected]
on 1 Nov 2012 at 5:32
What steps will reproduce the problem?
1. Call arduino.listen();
2. Call delay();
3. Send 6 snmpGet to agentuino during arduino delay.
What is the expected output? What do you see instead?
Expected: w5100 buffers snmp requests and when buffer is full, discards
packages. After that, Arduino poll w5100 snmp package is processed in callback
of pduReceived.
I see: After resuming delay, arduino fetches the received pdu, and hangs
afterwards.
What version of the product are you using? On what operating system?
Arduino uno, agentuino library.
Please provide any additional information below.
It would be very useful to have w5100 use it as an interrupt. Has anyone done
this before?
Original issue reported on code.google.com by [email protected]
on 25 Nov 2014 at 5:12
What steps will reproduce the problem?
1. use wrong community name except public or private
2.
3.
What is the expected output? What do you see instead?
Error message expected.
C:\SnmpGet>SnmpGet.exe -r:192.168.250.101 -o:.1.3.6.1.3.2009.0.1.0 -c:wrong
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
%Failed to get value of SNMP variable. Timeout.
System hangs
What version of the product are you using? On what operating system?
Arduino Uno
Ethernet W5100 shield
IDE 1.0.6
SnmpGet v1.01
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 17 Aug 2015 at 1:54
I'm trying to receive a SNMP Trap message and show it in Serial Monitor. Is it
possible with Agentuino library?
Thanks and best regards,
Fred
Original issue reported on code.google.com by [email protected]
on 23 Sep 2014 at 8:22
Attachments:
When using agentuino with arduino 1.0.0 or 1.0.1, the example sketch will
compile, but SNMP does not work - it times out instead.
This appears to be due to changes in Ethernet and EthernetUdp. The attached
patch file fixes it.
Specifically:
1. Udp.parsePacket() is required in listen() before Udp.available() can be
called.
2. When saving the packetsize in requestPdu(), don't compensate for the UDP
header. This is because we've already called parsePacket, which has advanced
the buffer past the UDP header.
3. Udp.parsePacket() is no longer required in requestPdu() as it has already
been run for this packet
After applying these changes, the example sketch works fine.
Original issue reported on code.google.com by [email protected]
on 19 Jun 2012 at 9:51
Attachments:
What steps will reproduce the problem?
1. Wanting to use agent to fetch SNMP data from the network and display it.
What is the expected output? What do you see instead?
Can not create the OID data from string.
Original issue reported on code.google.com by [email protected]
on 22 Sep 2012 at 6:58
I've updated the library to include trap support (based on code from
http://arduino.cc/forum/index.php/topic,50848.msg770678.html) and made a few
bug fixes.
I'm going to be using this library a lot in the coming months so I'll probably
have more changes and improvements.
Is there anyone still managing this codebase? I would like to upload my changes
to the repository so that other people can benefit as well.
Original issue reported on code.google.com by [email protected]
on 8 Mar 2013 at 6:55
Can´t compile using Arduino 1.0
Errors:
\arduino-1.0\libraries\Agentuino\Agentuino.cpp: In member function
'SNMP_API_STAT_CODES AgentuinoClass::begin()':
\arduino-1.0\libraries\Agentuino\Agentuino.cpp:39: error: 'Udp' was not
declared in this scope
\arduino-1.0\libraries\Agentuino\Agentuino.cpp: In member function
'SNMP_API_STAT_CODES AgentuinoClass::begin(char*, char*, uint16_t)':
\arduino-1.0\libraries\Agentuino\Agentuino.cpp:63: error: 'Udp' was not
declared in this scope
\arduino-1.0\libraries\Agentuino\Agentuino.cpp: In member function 'void
AgentuinoClass::listen()':
\arduino-1.0\libraries\Agentuino\Agentuino.cpp:73: error: 'Udp' was not
declared in this scope
\arduino-1.0\libraries\Agentuino\Agentuino.cpp: In member function
'SNMP_API_STAT_CODES AgentuinoClass::requestPdu(SNMP_PDU*)':
\arduino-1.0\libraries\Agentuino\Agentuino.cpp:98: error: 'Udp' was not
declared in this scope
\arduino-1.0\libraries\Agentuino\Agentuino.cpp: In member function
'SNMP_API_STAT_CODES AgentuinoClass::responsePdu(SNMP_PDU*)':
\arduino-1.0\libraries\Agentuino\Agentuino.cpp:350: error: 'Udp' was not
declared in this scope
Original issue reported on code.google.com by [email protected]
on 19 Dec 2011 at 8:20
The compilation is ok, but the SNMP doesnt works.
Can somebody help me please?
Original issue reported on code.google.com by [email protected]
on 21 May 2015 at 4:42
agentuino is currently released under GPL V2 which prohibits its use within
some forms of licensed software, e.g. proprietary software, i.e. someone is
unable to produce a software that reuses part or all of agentuino unless they
make the entirety of their software free and open. This may limit adoption of
agentuino. GPL recommend / suggest that libraries (like agentuino) be released
under LGPL which permits the library to be linked from a proprietary software
as long as the library source is available. Such licensing gives greater
freedom to the user of the library without reducing the liberal licencing of
the actual library.
May I request agentuino be released under a more liberal license such as LGPL?
Original issue reported on code.google.com by [email protected]
on 22 May 2014 at 2:39
What steps will reproduce the problem?
1. see memset in line 312 Agentuino.h
2.
3.
What is the expected output? What do you see instead?
Expected: x.x.x.x
Actual: 0.0.0.0
What version of the product are you using? On what operating system?
Latest
Please provide any additional information below.
Also, why is the byte order being reversed? (tested on a Windows machine and
monitored over wireshark, PDU->data for IP contained proper order, your code [
size+3-i] reverses it; ex: 1.2.3.4 becomes 4.3.2.1)
Original issue reported on code.google.com by [email protected]
on 30 Jun 2012 at 9:47
What steps will reproduce the problem?
1. snmpget -v 1 -r 1 -c public 192.168.2.64 1.3.6.1.4.1.36582.1.0
Agentuino's decoded OID does not match.
What is the expected output?
Agentuino's decoded value should match the request (1.3.6.1.4.1.36582.1.0)
Original issue reported on code.google.com by [email protected]
on 22 Sep 2010 at 2:35
What steps will reproduce the problem?
1. add code to make a pin blink to Agent.pde, compile and upload
2. voltage on that pin (I used pin 6) does not change
3. attach DHT sensor, add code for DHT, note that DHT works (reading from
analog pin)
What version of the product are you using? On what operating system?
code was checked out from SVN on 5/31/2013, I'm running Windows 8, with Arduino
Software 1.5.2.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2013 at 7:40
Arrangements for the functioning of GetNext (Walk).
Original issue reported on code.google.com by [email protected]
on 28 Jul 2013 at 8:18
Attachments:
On the Arduino Leonardo is working properly.
On Arduino DUE hangs when calling | Agentuino.freePdu (& pdu); |
Just noticed that the compilation of the sketch for the DUE results in an error
while using the library "MemoryFree.h"
MemoryFree \ MemoryFree.cpp.o: In function `freeListSize () ':
% patch% \ MemoryFree / MemoryFree.cpp: 35: warning: undefined reference to
`__flp '
MemoryFree \ MemoryFree.cpp.o: In function `freeMemory ':
% patch% \ MemoryFree / MemoryFree.cpp: 47: warning: undefined reference to
`__brkval '
% patch% \ MemoryFree / MemoryFree.cpp: 47: warning: undefined reference to
`__heap_start '
Is it possible to use agentuino in conjunction with the arduino DUE platform?
Original issue reported on code.google.com by [email protected]
on 27 Aug 2014 at 4:42
- What steps will reproduce the problem?
1. load the attached sample sketch into Arduino 1.0.3 IDE
2. Upload and execute (I got an EtherMega 2560)
3. try to get the uptime OID 1.3.6.1.2.1.1.3.0
- What is the expected output? What do you see instead?
Expected: the SysUptime to be send to the requesting host
Seen: weird results in Serial-Monitor (see screenshot attached) and uC reset
- What version of the product are you using? On what operating system?
I used the Agentuino Library from Issue 2 and applied the patch from issue 3.
Developing on an EtherMega 2560 (identically to Arduino Mega 2560 with
Ethernet-Shield)
- I am stuck here and any help is VERY welcome...
Greets from Germany,
Thomas
- Please provide any additional information below.
During tracking this down I have modified the example to the attached sketch in
order to simplify it.(removed not needed outputs, removed Streaming-Lib, etc.)
Original issue reported on code.google.com by [email protected]
on 19 Mar 2013 at 2:58
Attachments:
What steps will reproduce the problem?
1. I created a specific OID to collect IPAddress from ethernet card via DHCP,
and to initialize that variable I put a invalid IP, but when I give SNMPGET on
this OID the result is always the same. Doesn't show the updated IP that the
ethernet receive from DHCP.
2.
3.
What is the expected output? What do you see instead?
The IP received from DHCP ( Example: 187.60.96.146 ) . I always see the IP that
I used to initialize the variable ( Example: 192.168.20.6 ) .
What version of the product are you using? On what operating system?
Arduino IDE 1.0.5, MAC OSx
Please provide any additional information below.
My code is attached.
Original issue reported on code.google.com by [email protected]
on 1 Jun 2015 at 3:15
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.