Files
MeshCore/test/test_airoha_sleep/RTClib.h
T
mikecarper 062a835f09 Merge upstream dev through 5846fa19
Import Airoha GPS RTC backup sleep, 24 contact search results, and the T-Echo Lite USB companion target. Preserve existing GPS telemetry and power-saving controls, crypto alignment checks, ESP32 RTC recovery, and RAK11310 dynamic-preference compatibility.

Validate GPS sleep acknowledgments with their NMEA checksum and add six native regression tests covering retry, drain, corruption, grace timeout, and timer rollover.

Verified: 1648 native and KISS modem tests; targeted nRF52, companion routing, one-key DM, and clock checks; T1000-E BLE, MeshTracker X1 USB, and T-Echo Lite USB companion builds.
2026-09-30 02:13:25 -07:00

12 lines
327 B
C++

#pragma once
#include <stdint.h>
// Command/ACK tests do not use RTC conversion. Keep the provider header
// compilable without the hardware I2C dependencies of the Arduino RTC library.
class DateTime {
public:
DateTime(uint16_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t) {}
uint32_t unixtime() const { return 0; }
};