<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Ok, now I saw that it is far from complete.  nut does only support snmp types 's' and 'i' when writing.  nut does not support type 't'.  So no timeticks such as delays can be set on an AP9617.  Maybe other cards do no type checking...</div>

<div>This means snmp-ups.c and apc-mib.c need to be changed.  And maybe other mib files, too.</div>

<div>So, is it by design that timeticks/delays cannot be set?</div>

<div>-lutzn</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I changed one line only:
<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div> </div>

<div>line 1463 in snmp-ups.c:</div>

<div>from:  if (su_info_p->info_flags & ST_FLAG_STRING) {<br/>
to:      if (su_info_p->flags & SU_TYPE_STRING) {<br/>
 </div>

<div>Can anyone please verify!</div>

<div> </div>

<div>Because if it is true what I did then I believe that setting values might not have worked for any snmp ups.</div>

<div>And believe that this cannot be.  But with this change setting values now work with AP9617.  snmp-lib does not generate "" anymore.  Strange...</div>

<div> </div>

<div>The other problem with the ups not shutting down is still open.</div>

<div> </div>

<div>-lutzn</div>

<div> </div>

<div> 
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);"> 
<div>> I will post the changed apc-mib.c here. Ok? Or shall I send it to someone else?<br/>
<br/>
This list is fine. Would you please post a unified diff (diff -u) instead of the whole file?<br/>
<br/>
Thanks,<br/>
<br/>
--<br/>
Charles Lepple<br/>
clepple@gmail<br/>
<br/>
<br/>
 </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>