Hi Ryan,

I'd recommend you to go through the implementation of apps/snmpset.c
<https://github.com/haad/net-snmp/blob/master/apps/snmpset.c>that provides
the CLI functionality. Had a similar requirement for a project I was
working on around a year ago, and going through the CLI implementation
helped a lot .

Thanks,

Ashutosh

On Fri, Aug 2, 2019 at 10:29 PM Ryan Frost <ryfro...@gmail.com> wrote:

> Good morning,
>
> I’m not sure if this is the right email for this but I’m in need of help
> on a project. I have been using this library and am familiar with all the
> CLI commands but need to put it into code. The example and read_objid
> function is working and gets the status I want. Now I would like to set
> this objid value to something different, is there a function similar to
> read_objid that sets an OID value? If this is the wrong email could you
> please point me to the right one.
>
> Thanks,
>
> Ryan Frost
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to