Add SNMP manager functions - #2
Conversation
This example show how to use the get functions to request information from another device. The OID's will probably need to be replaced to work with your device.
0neblock
commented
Jun 6, 2018
HI Niich, Sorry for not looking at this yet. |
Niich
commented
Jun 14, 2018
via email
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 ***@***.***> 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
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AlBbKsxpkBEEWgpAOmBjhAbWV0C2I2Tpks5t56z4gaJpZM4UGDvl>
.
|
srivatsaks
commented
Jun 18, 2019
Wow...awesome... Thank you so much to both Aidan Cyr and Niich.. |
shortbloke
commented
May 18, 2020
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
commented
Jul 20, 2021
Anyone interested in an SMMP Manager may want to take a look at: https://github.com/shortbloke/Arduino_SNMP_Manager |
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.