Imported Upstream version 2.4.3
This commit is contained in:
commit
26fb71b504
446 changed files with 148951 additions and 0 deletions
18
drivers/apc-mib.h
Normal file
18
drivers/apc-mib.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef APC_MIB_H
|
||||
#define APC_MIB_H
|
||||
|
||||
#include "main.h"
|
||||
#include "snmp-ups.h"
|
||||
|
||||
/*
|
||||
* FIXME: The below is needed because the main driver body uses this to determine
|
||||
* whether a conversion from Fahrenheit to Celsius is needed (which really should
|
||||
* be solved in subdriver specific formatting functions, like we do in usbhid-ups
|
||||
*/
|
||||
#define APCC_OID_IEM_TEMP ".1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1"
|
||||
#define APCC_OID_IEM_TEMP_UNIT ".1.3.6.1.4.1.318.1.1.10.2.3.2.1.5.1"
|
||||
#define APCC_IEM_FAHRENHEIT 2
|
||||
|
||||
extern mib2nut_info_t apc;
|
||||
|
||||
#endif /* APC_MIB_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue