This module defines the PPNet.Message.Ping struct and provides functions to parse
a binary or list representation of a Ping message into this struct.
Summary
Types
The PPNet.Message.Ping struct
Types
@type t() :: %PPNet.Message.Ping{ cpu: float(), datetime: DateTime.t(), extra: %{optional(String.t()) => any()}, location: %{lat: float(), lon: float(), accuracy: integer()}, session_id: String.t(), storage: %{total: integer(), used: integer()}, temperature: float(), tpu_memory_percent: integer(), tpu_ping_ms: integer(), uptime_ms: integer(), wifi: [%{mac: String.t(), rssi: integer()}] }
The PPNet.Message.Ping struct
Fields
session_id- Session IDtemperature- CPU/board temperature in Celsiusuptime_ms- Device uptime in millisecondslocation- GPS location in WGS 84 (EPSG:4326):latandlonin decimal degrees,accuracyin meterscpu- CPU usage as a float between 0.0 and 1.0tpu_memory_percent- TPU memory usage percentage (0-100)tpu_ping_ms- TPU round-trip ping time in millisecondswifi- List of visible WiFi networks, each withmac(string) andrssi(integer, dBm)storage- Disk usage in kilobytes (KB):totalanduseddatetime- Timestamp of the ping messageextra- Optional arbitrary key/value data