On Mon, Aug 3, 2009 at 5:07 PM, Christian Ruppert<[email protected]> wrote:
> Ok, now I receive something.
>
> sending 'b' returns 'CF' or 'D0'.
> 'Y' as expected 'SM'
>
> 'm', 'n' nothing
> 'Y' is '6FI' (sounds valid)
> 'a' returns 'D1' (not a long string) and 'D2' if 'Y' was send before.

This looks better. If you check the changes to apcsmart.c, you will
see that some of the special cases were removed after NUT 2.4.1 was
released:

http://tinyurl.com/n7ev8q

Your best bet is probably to pull the latest code from SVN, and adjust
apcsmart.h to match.

http://networkupstools.org/source.html under the Development section.

The apcsmart code seems to verify all of the commands listed in
compat_tab, but it would probably be good to only include the ones
that actually exist.

-- 
- Charles Lepple

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to