Documentation ¶
Index ¶
- func DCDCErrors() map[uint8]string
- func DCDCOffReasons() map[uint32]string
- func DCDCOperationMode() map[uint8]string
- func ReadBatteryMonitor(record []byte, data *BatteryMonitorReading) error
- func ReadDCDCCharger(record []byte, data *DCDCChargerReading) error
- type BatteryMonitor
- type BatteryMonitorReading
- type DCDCCharger
- type DCDCChargerReading
- type Device
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DCDCErrors ¶
func DCDCOffReasons ¶
func ReadBatteryMonitor ¶
func ReadBatteryMonitor(record []byte, data *BatteryMonitorReading) error
func ReadDCDCCharger ¶
func ReadDCDCCharger(record []byte, data *DCDCChargerReading) error
Types ¶
type BatteryMonitor ¶
type BatteryMonitor struct {
// contains filtered or unexported fields
}
func NewBatteryMonitor ¶
func NewBatteryMonitor(d Device, handler func(BatteryMonitorReading)) *BatteryMonitor
func (*BatteryMonitor) Handle ¶
func (d *BatteryMonitor) Handle(ad scanner.Advertisement)
type BatteryMonitorReading ¶
type DCDCCharger ¶
type DCDCCharger struct {
// contains filtered or unexported fields
}
func NewDCDCCharger ¶
func NewDCDCCharger(d Device, handler func(DCDCChargerReading)) *DCDCCharger
func (*DCDCCharger) Handle ¶
func (d *DCDCCharger) Handle(ad scanner.Advertisement)
type DCDCChargerReading ¶
Click to show internal directories.
Click to hide internal directories.