prf::system namespace

Classes

class IConnectivityStateSource
Provides runtime connectivity state consumed by system task LED policy.
class ITaskHeartbeatSink
Narrow sink used by task runners to publish liveness heartbeats.
struct MemoryTelemetry
Aggregated RAM telemetry used by runtime logs and /system/mem.
class RuntimeSystemService
Runtime-oriented provider for /system/* telemetry and /system/reboot.
struct RuntimeTaskBinding
class SystemTaskRunner
System maintenance task runner.
struct TaskHealthEntrySnapshot
Per-task view returned by TaskHealthMonitor::snapshot().
class TaskHealthMonitor
Tracks per-task heartbeat freshness and watchdog gating eligibility.
struct TaskHealthSnapshot
Aggregate watchdog gating state for all registered tasks.

Enums

enum class TaskHealthTaskId: uint8_t { System = 0, Network = 1, Coap = 2, Radio1 = 3, Radio2 = 4, Pppos = 5, Control = 6, Count }
Identifiers of watchdog-relevant runtime tasks.

Functions

auto capture_memory_telemetry(MemoryTelemetry*const out) -> bool
Captures a consistent memory snapshot across FreeRTOS, newlib and lwIP.

Enum documentation

enum class prf::system::TaskHealthTaskId: uint8_t

Identifiers of watchdog-relevant runtime tasks.

The set is intentionally small and scenario-oriented. It models the tasks whose liveness is required for the current PacketRF control and datapath profile. Scenario code marks which of them are required at runtime.

Function documentation

bool prf::system::capture_memory_telemetry(MemoryTelemetry*const out)

Captures a consistent memory snapshot across FreeRTOS, newlib and lwIP.