Skip to content

File TelemSchedule.h

FileList > Firmware > Libraries > PowerMonitor > TelemSchedule.h

Go to the source code of this file

When to send which TELEM_n page — periodic rotation plus rate-limited edge sends (#216). More...

  • #include <stdint.h>

Namespaces

Type Name
namespace OpenSkyhawk
Thin wrapper over Adafruit_ADS1115; see ADS1115.h .
namespace Pdu

Classes

Type Name
class TelemSchedule

Detailed Description

  • Periodic: one frame per TELEM_PERIOD_MS (the HEALTH_n rate), rotating through the pages, so each page refreshes every PAGES × period. A periodic send is the one that restarts that page's statistics window.
  • Edge: when a page's flag byte differs from what was last sent for it, send that page now — at most once per EDGE_MIN_MS per page; a change inside the hold-off goes out when it ends. An edge send does not restart the window. Every page starts from an all-clear baseline (0), so a condition present at boot goes out promptly instead of waiting for its periodic slot.

Hardware-free — the caller supplies the clock and the current flag bytes.

Copyright:

GPL-2.0-only — see Firmware/LICENSE


The documentation for this class was generated from the following file Firmware/Libraries/PowerMonitor/TelemSchedule.h