Modem_BatteryVoltage class

The Variable sub-class used for the battery voltage measured by a modem.

Whether or not this value is meaningful depends on the specific modem subclass and the wiring of the logger setup.

The value has units of mV and has a resolution of 1mV.

Base classes

class Variable
The variable class for a value and related metadata.

Constructors, destructors, conversion operators

Modem_BatteryVoltage(loggerModem* parentModem, const char* uuid = "", const char* varCode = "modemBatterymV") explicit
Construct a new Modem_BatteryVoltage object.
~Modem_BatteryVoltage()
Destroy the Modem_BatteryVoltage object - no action needed.

Function documentation

Modem_BatteryVoltage::Modem_BatteryVoltage(loggerModem* parentModem, const char* uuid = "", const char* varCode = "modemBatterymV") explicit

Construct a new Modem_BatteryVoltage object.

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 "modemBatterymV".