0neblock / Arduino_SNMP

SNMP Agent built with Arduino
MIT License
77 stars 30 forks source link

No reply to snmpwalk request to .1 #30

Closed filippsudanov closed 2 years ago

filippsudanov commented 2 years ago

Typically devices respond to snmpwalk -v 2c -c public .1

but the library does not.

0neblock commented 2 years ago

As the other OID, you should be able to implement this callback to the OID yourself. The library doesn't implement any built-ins.

ae-zero commented 2 years ago

@0neblock

As the other OID, you should be able to implement this callback to the OID yourself. The library doesn't implement any built-ins.

Could you give an example? When you say "implement this callback", do you mean modifying the .cpp/.h files, or do you mean adding a snmp.addHandler to my .ino file? I've been fighting with trying to get .1 to respond for the better part of a day, and I'm not sure what I'm missing.

@filippsudanov Did you get it working?

Thanks!