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.
12 lines
327 B
C++
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; }
|
|
};
|