ModularSensors > Classes > Variable > Modem_Temp
ModularSensors > Modules > Modem Variables > Modem_Temp


Modem_Temp class

The Variable sub-class used for the chip temperature as measured by the modem.

Whether or not this value is meaningful depends on the specific modem subclass.

The value has units of degrees Celsius and has a resolution of 0.1°C.

Base classes

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

Constructors, destructors, conversion operators

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

Function documentation

Modem_Temp(loggerModem* parentModem, const char* uuid = "", const char* varCode = MODEM_TEMPERATURE_DEFAULT_CODE) explicit

Construct a new Modem_Temp 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 "modemTemp".