26 lines
726 B
C
26 lines
726 B
C
/**
|
|
* @file di/device/battery.h
|
|
* @date January 30, 2015
|
|
* @author J.J.J. Jacobs
|
|
* @copyright 2016 Dual Inventive Technology Centre B.V.
|
|
* @{
|
|
*/
|
|
#ifndef INCLUDE_DI_DEVICE_BATTERY_H_
|
|
#define INCLUDE_DI_DEVICE_BATTERY_H_
|
|
|
|
#include <di/rpc/structures.h>
|
|
#include <di/constants/device/battery.h>
|
|
|
|
static const struct di_rpc_enum di_device_battery_rpc_state_list[] = {
|
|
{ "removed", DI_DEVICE_BATTERY_STATE_REMOVED },
|
|
{ "empty", DI_DEVICE_BATTERY_STATE_EMPTY },
|
|
{ "crit", DI_DEVICE_BATTERY_STATE_CRITICAL },
|
|
{ "low", DI_DEVICE_BATTERY_STATE_LOW },
|
|
{ "half", DI_DEVICE_BATTERY_STATE_HALF },
|
|
{ "full", DI_DEVICE_BATTERY_STATE_FULL }
|
|
};
|
|
|
|
/** @} */
|
|
|
|
#endif /* INCLUDE_DI_DEVICE_BATTERY_H_ */
|