1 /** 2 * @file ucifi_battery.h 3 * @brief 4 * 5 * Copyright (c) 2022 Laird Connectivity 6 * 7 * SPDX-License-Identifier: Apache-2.0 8 */ 9 #ifndef __LWM2M_UCIFI_BATTERY__ 10 #define __LWM2M_UCIFI_BATTERY__ 11 12 /* uCIFI Battery resource IDs */ 13 /* clang-format off */ 14 #define UCIFI_BATTERY_LEVEL_RID 1 15 #define UCIFI_BATTERY_CAPACITY_RID 2 16 #define UCIFI_BATTERY_VOLTAGE_RID 3 17 #define UCIFI_BATTERY_TYPE_RID 4 18 #define UCIFI_BATTERY_LOW_THESHOLD_RID 5 19 #define UCIFI_BATTERY_LEVEL_TOO_LOW_RID 6 20 #define UCIFI_BATTERY_SHUTDOWN_RID 7 21 #define UCIFI_BATTERY_NUM_CYCLES_RID 8 22 #define UCIFI_BATTERY_SUPPLY_LOSS_RID 9 23 #define UCIFI_BATTERY_SUPPLY_LOSS_COUNTER_RID 10 24 #define UCIFI_BATTERY_SUPPLY_LOSS_COUNTER_RESET_RID 11 25 #define UCIFI_BATTERY_SUPPLY_LOSS_REASON_RID 12 26 /* clang-format on */ 27 28 #endif /* __LWM2M_UCIFI_BATTERY__ */ 29