Arduino_SNMP icon indicating copy to clipboard operation
Arduino_SNMP copied to clipboard

Add SNMP manager functions

Open Niich opened this issue 6 years ago • 5 comments

i have added SNMP manager functions to the code you created.

I do not have any experience coding so if the code is hard to read or has any other issues please let me know the best way to fix it.

I based the new functions on the SNMP trap code since it was already creating and sending a packet.

i still don't fully understand the callback structure so I'm sure my usage is not correct.

i have included an example since the usage is not straight forward.

Niich avatar May 20 '18 12:05 Niich

HI Niich,

Sorry for not looking at this yet. I'll have a look through your code and see if I can't refactor my code base to make it easier to act as an SNMP Manager.

0neblock avatar Jun 06 '18 10:06 0neblock

No problem. I'm sure my code is a mess. The code was way above my head. I got It working for my task but I'm not sure how it will perform in other tasks.

Thanks for looking it over. I hope we can get something together since while looking for an snmp manager I found a lot of other people looking too.

On Wed, Jun 6, 2018, 11:48 Aidan Cyr [email protected] wrote:

HI Niich,

Sorry for not looking at this yet. I'll have a look through your code and see if I can't refactor my code base to make it easier to act as an SNMP Manager.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fusionps/Arduino_SNMP/pull/2#issuecomment-395020143, or mute the thread https://github.com/notifications/unsubscribe-auth/AlBbKsxpkBEEWgpAOmBjhAbWV0C2I2Tpks5t56z4gaJpZM4UGDvl .

Niich avatar Jun 14 '18 08:06 Niich

I got it working on my ESP32. I have updated the example to include a string example

Wow...awesome... Thank you so much to both Aidan Cyr and Niich.. It was of great help for me..

srivatsaks avatar Jun 18 '19 05:06 srivatsaks

Just curious if there is likely to be some progress merging this PR, (I know it's been pending for quite some time? I was hoping to find an SNMP manager to try and use with an ESP8266 to query a router, but I've yet to get the @Niich branch working. Though I'm still persisting, with trying to understand why it fails to decode the responses correctly.

shortbloke avatar May 18 '20 21:05 shortbloke

Anyone interested in an SMMP Manager may want to take a look at: https://github.com/shortbloke/Arduino_SNMP_Manager

shortbloke avatar Jul 20 '21 13:07 shortbloke