Michael du Breuil
22ab8de4d2
AP_BattMonitor: SMBus: Fetch pack capacity
8 years ago
Michael du Breuil
f919c409bb
AP_BattMonitor: Remove redundant state copy
...
Every backend stored a instance reference, which wasn't used in most locations
which is redundant given that the state already tracks the instance for us as
well.
8 years ago
Michael du Breuil
3ab3face9b
AP_BattMonitor: SMBus: Read serial number
8 years ago
Michael du Breuil
e0d49e6d84
AP_BattMonitor: Use a unified SMBus temperature interface
8 years ago
Michael du Breuil
9c3b97347a
AP_BattMonitor: Unify read_word interface
8 years ago
Michael du Breuil
3319c3ccdc
AP_BattMonitor: Use a common PEC helper
8 years ago
Michael du Breuil
a96772e46e
AP_BattMonitor: get Solo battery voltage from sum of cell voltages
...
Minimizes the number of transactions on the bus, and reduces the amount of noise we have to consider
8 years ago
Michael du Breuil
8f24d211ce
AP_BattMonitor: Solo add support for temperature and cells
...
Also fixs a buffer overflow when reading the ManufacturerData
8 years ago
Tatsuya Yamaguchi
d30350276c
AP_BattMonitor: I2C driver becomes Solo driver
...
Rename class to Solo
Use internal I2C bus
Add capacity, current, button press checking
Only check continuously for voltage if reading fails for more than 5 seconds
8 years ago