29 lines
973 B
C
29 lines
973 B
C
/**
|
|
* @file ucifi_battery.h
|
|
* @brief
|
|
*
|
|
* Copyright (c) 2022 Laird Connectivity
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef __LWM2M_UCIFI_BATTERY__
|
|
#define __LWM2M_UCIFI_BATTERY__
|
|
|
|
/* uCIFI Battery resource IDs */
|
|
/* clang-format off */
|
|
#define UCIFI_BATTERY_LEVEL_RID 1
|
|
#define UCIFI_BATTERY_CAPACITY_RID 2
|
|
#define UCIFI_BATTERY_VOLTAGE_RID 3
|
|
#define UCIFI_BATTERY_TYPE_RID 4
|
|
#define UCIFI_BATTERY_LOW_THESHOLD_RID 5
|
|
#define UCIFI_BATTERY_LEVEL_TOO_LOW_RID 6
|
|
#define UCIFI_BATTERY_SHUTDOWN_RID 7
|
|
#define UCIFI_BATTERY_NUM_CYCLES_RID 8
|
|
#define UCIFI_BATTERY_SUPPLY_LOSS_RID 9
|
|
#define UCIFI_BATTERY_SUPPLY_LOSS_COUNTER_RID 10
|
|
#define UCIFI_BATTERY_SUPPLY_LOSS_COUNTER_RESET_RID 11
|
|
#define UCIFI_BATTERY_SUPPLY_LOSS_REASON_RID 12
|
|
/* clang-format on */
|
|
|
|
#endif /* __LWM2M_UCIFI_BATTERY__ */
|