Skip to content

Commit 5dad657

Browse files
committed
added BatteryTag message
for battery tag peripherals permanently attached to batteries
1 parent 7c50b2a commit 5dad657

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#
2+
# Battery tag information. This is broadcast by a battery tag device
3+
# permanently attached to a battery to record the lifecycle of the battery
4+
#
5+
6+
# vendor supplied serial number
7+
uint32 serial_number
8+
9+
# number of cycles this battery has been through. Criteria for
10+
# defining a cycle is vendor specific
11+
uint32 num_cycles
12+
13+
# number of hours that this battery has been running when
14+
# vehicle is in an armed state
15+
float32 armed_hours
16+
17+
# battery capacity in milliAmpHours
18+
uint32 battery_capacity_mAh
19+
20+
# time of first use of battery with vehicle armed, in minutes since 1/1/1970
21+
uint32 first_use_mins
22+
23+
# time of most recent change to armed state, in minutes since 1/1/1970
24+
uint32 last_arm_time_mins

0 commit comments

Comments
 (0)