seligor / agentuino

Automatically exported from code.google.com/p/agentuino
0 stars 0 forks source link

Timeout, no Response #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 tms...@gmail.com on 10 Jul 2013 at 2:07

GoogleCodeExporter commented 8 years ago
Looking at the cpp file where the Response is sent, 

Udp.beginPacket(Udp.remoteIP(), Udp.remotePort());
    Udp.write(_packet, _packetSize);
    Udp.endPacket();
//  Udp.write(_packet, _packetSize, _dstIp, _dstPort);
    //
    return SNMP_API_STAT_SUCCESS;

There looks to be no error checking to confirm the Udp packet is sent, and the 
function always returns a SUCCESS message.

Original comment by tms...@gmail.com on 10 Jul 2013 at 2:50

GoogleCodeExporter commented 8 years ago
I my case I didn't have problems with this command:

snmpget -v1 -r1 -c public 192.168.192.17 sysUpTime.0

But all other commands returns  Timeout: No Response from 192.168.192.17

Original comment by antunezg...@gmail.com on 9 Jun 2015 at 6:30

GoogleCodeExporter commented 8 years ago
More accuratly I have problem with "snmpset" commands 

Original comment by antunezg...@gmail.com on 9 Jun 2015 at 6:43