#include <src/LoggerModem.h>
Modem_BatteryState
class
The Variable sub-class used for the battery charge state measured by a modem.
- Reference
- Detailed Descriptions
Whether or not this value is meaningful depends on the specific modem subclass and the wiring of the logger setup.
The value is dimensionless and has a resolution of 1.
Base classes
- class Variable
- The variable class for a value and related metadata.
Constructors, destructors, conversion operators
- Modem_BatteryState(loggerModem* parentModem, const char* uuid = "", const char* varCode = "modemBatteryCS") explicit
- Construct a new Modem_
BatteryState object. - ~Modem_BatteryState()
- Destroy the Modem_
BatteryState object - no action needed.
Function documentation
Modem_ BatteryState:: Modem_BatteryState(loggerModem* parentModem,
const char* uuid = "",
const char* varCode = "modemBatteryCS") explicit
Construct a new Modem_
Parameters | |
---|---|
parentModem | The parent modem providing the result values. |
uuid | A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string. |
varCode | A short code to help identify the variable in files; optional with a default value of "modemBatteryCS". |