18 lines
546 B
C
18 lines
546 B
C
#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 */
|