Displaying 2 results from an estimated 2 matches for "sys_test".
2007 Sep 19
1
Programming problem.
...3c <-- PW_LIMIT_BLOCK_REQ
40 <-- PW_COMMAND_LIST_REQ (this command)
43 <-- PW_UPS_TOP_DATA_REQ
8a <-- PW_LOAD_OFF_RESTART
8b <-- PW_UPS_OFF
a0 <-- PW_SET_REQ_ONLY_MODE
cf <-- Autorisation command
So this ups does not need to list unused functions like: batt_test sys_test
set_config set_outlet e.t.c when you ask for possible commands.
But if you connect a PW5125 it have all the commands listed in
bcmxcp.h.
It should be some more listed in the bcmxcp.h, like
0x32 (event history block).
My plan was to use a struct and load it with the commands. Then
loop it and set a...
2008 Jan 07
2
bcmxcp patch
...ay time in minutes not in seconds like for "return". The driver converts "shutdowndelay" option to minutes, everything below 120sec means 1 minute.
> 2) I added load.on, load.off instant commands. They works as expected
> 3) I added test.panel.start command. In XCP this is SYS_TEST but it test front panel on my ups as well
> 4) I added shutdowntype config option. The idea is taken from apcsmart.c, 0 (default) means shutdown and return, 1 means shutdown and stay off. The delay is defined in shutdowndelay just like for shutdown.return and shutdown.stayoff commands.
>
>...