-->
Page 1 of 2

SNMP Agent using Arduino on ESP-8266 ?

PostPosted: Fri May 12, 2017 3:02 pm
by Sigmax
Hi! Hopefully this is the right place to ask the following:

I am in need to add SNMP AGENT capabilities to a project I am finishing on an ESP8266 board (ESP-12). I am coding the project in Arduino IDE.

I've been searching around for days, and it seems there is no library for SNMP support on Arduino, other than the old (very old) "Agentuino" which seems to be compatible only with (again, old!) Ethernet shields.

Can anyone please point me into the right direction, or throw me some light about viability of SNMP AGENT / TRAP functionality under ESP8266 ?

Regards,

Enrique

Re: SNMP Agent using Arduino on ESP-8266 ?

PostPosted: Mon Jun 05, 2017 9:15 pm
by Sigmax
Just wanted to comment that I had to resource into reading the whole RFC for SNMP, while also taking a good look into the old agentuino library and create my own code from scratch up, in order to answer the different OIDs that an SNMP manager could send to my ESP8266 ... and I also created a TRAP packet sending code.

It works. It is just too dirty a work and completely specific for my project, given the time I had to either discard SNMP entirely from my project or try to do something. But it works, I got it running for more than a week with no interruption, being queried each 30 seconds by a MS Windows based SNMP Manager, with no problems whatsoever, which is at the end of my day, a success :)

Re: SNMP Agent using Arduino on ESP-8266 ?

PostPosted: Mon Jun 05, 2017 11:34 pm
by CoolAEW
Could you please share the source code? :)

Re: SNMP Agent using Arduino on ESP-8266 ?

PostPosted: Wed Jun 07, 2017 9:08 pm
by mrburnette
CoolAEW wrote:Could you please share the source code? :)


Sounds like Sigmax is working in a commercial environment and I seriously doubt the code can be released to the public - most businesses "own" s/w written by employees and have rather strongly worded employment contracts preventing leaks of proprietary stuff.

Ray