Hi,
   I am planning to implement this set functionality in the sub-agent
side. After going through example files i modified the file which i
generated through mib2c with few printf statements to understand the
flow. When i did set operation control is coming to MODE_SET_RESERVE1
here i am checking for the type and value range after this control is
coming to MODE_SET_FREE and giving the following error message.

Request Failed: Get Response PDU received from 127.0.0.1
Error Indication in response: A not writable error occured.
Errindex: 1

In the mib i defined this test object as Truth Value this is a scalar
object having read-write access. 

On Tue, 2005-06-07 at 20:12, Dave Shield wrote:
> On Tue, 2005-06-07 at 15:42, Sasikumar Bodathula wrote:
> > > > Where can i find example file or tutorial as reference
> > > > for my snmpset implementation.
> > > 
> > > apps/snmpset.c
> 
> > I generated the code using mib2c mib2c.scalar.conf
> 
> Oh - you meant *agent* side SET implementation?
> Sorry, I misunderstood what you were asking for.
> 
> 
> >  is there any sample
> > code which i can compile and run the same for learning.
> 
> There's a whole lot of code under 'agent/mibgroups'
> Some of which is more useful as an example than others.
> 
> Have a look at the 'examples' directory, as a reasonable
> starting point, and work out from there.
> 
> Dave
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.  
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to