#include <Data.h>
Public Member Functions | |
bool | isValid () |
void | setCRC () |
long | getCRC () |
Data Fields | |
MyGps | lastGps |
Last known gps location without timeout. | |
long | aktiveTimeSec |
Time in active mode without current millis(). | |
long | powerOnTimeSec |
Time the sim808 is on power without current millis.. | |
long | deepSleepTimeSec |
Time in deep sleep mode. | |
long | deepSleepStartSec |
Timestamp of the last deep sleep start. | |
long | lowPowerActiveTimeSec |
Timestamp of the last deep sleep start. | |
long | lowPowerPowerOnTimeSec |
Timestamp of the last deep sleep start. | |
long | lastBme280ReadSec |
Timestamp of the last BME280 read. | |
long | lastSmsCheckSec |
Timestamp of the last sms check. | |
long | lastGpsReadSec |
Timestamp of the last gps read. | |
long | lastMqttPublishSec |
Timestamp from the last send. | |
long | mqttSendCount |
How many time the mqtt data successfully sent. | |
long | mqttLastSentTime |
Last mqtt sent timestamp. | |
long | crcValue |
CRC of the RtcData. | |
long MyData::RtcData::getCRC | ( | ) |
Creates a CRC of all the member variables.
Definition at line 145 of file Data.h.
References crc32().
Referenced by isValid().
bool MyData::RtcData::isValid | ( | ) |
Does the CRC fit s the content
Definition at line 133 of file Data.h.
References crcValue, and getCRC().
Referenced by MyDeepSleep::begin().
void MyData::RtcData::setCRC | ( | ) |
Creates the CRC of all the data and save it in the class.
Definition at line 139 of file Data.h.
Referenced by MyDeepSleep::sleep().