search for: pw_command_list_req

Displaying 3 results from an estimated 3 matches for "pw_command_list_req".

2007 Sep 19
1
Programming problem.
...c <-- first byte is the number of commands (12) 01 <-- How many bytes reported below for each command 31 <-- PW_ID_BLOCK_REQ 33 <-- PW_STATUS_REQ 34 <-- PW_METER_BLOCK_REQ 35 <-- PW_CUR_ALARM_REQ 36 <-- PW_CONFIG_BLOC_REQ 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...
2013 Jul 03
1
bcmxcp: Patch for using command map if present to control commands added by dstate_addcmd
.../* Get information on UPS commands */ -void init_command_map(int size) +bool_t init_command_map(int size) { unsigned char answer[PW_ANSWER_MAX_SIZE]; int res, iIndex = 0, ncounter, NumComms = 0; @@ -634,7 +634,10 @@ void init_command_map(int size) res = command_read_sequence(PW_COMMAND_LIST_REQ, answer); if (res <= 0) + { upsdebugx(2, "No command list block."); + return FALSE; + } else { upsdebugx(2, "Command list block supported."); @@ -656,17 +659,28 @@ void init_command_map(int size) if (answer...
2014 Feb 16
1
Eaton Powerware 5110 - some stats not reported
The meter map is basically a bitmap that indicates what variables are output (and in what format) by the UPS. You will likely see a variable, 'not mapped' or nothing. The variables and 'not mapped' items are output by the UPS in the measurement block, and the map tells nut how to read it. 'Unmapped' means that there is a variable there that nut is ignoring, and the xcp