MeshLog

data class MeshLog(val uuid: String, val message_type: String, val received_date: Long, val raw_message: String, val fromNum: Int = 0, val portNum: Int = 0, val fromRadio: FromRadio = FromRadio())(source)

Represents a log entry in the database.

Logs are used for auditing radio traffic, telemetry history, and debugging.

Constructors

Link copied to clipboard
constructor(uuid: String, message_type: String, received_date: Long, raw_message: String, fromNum: Int = 0, portNum: Int = 0, fromRadio: FromRadio = FromRadio())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The node number that sent the packet.

Link copied to clipboard
val fromRadio: FromRadio

The decoded FromRadio protobuf object.

Link copied to clipboard
val meshPacket: MeshPacket?
Link copied to clipboard

The type of message (e.g., "Packet", "Telemetry", "LogRecord").

Link copied to clipboard
val myNodeInfo: MyNodeInfo?
Link copied to clipboard
val nodeInfo: NodeInfo?
Link copied to clipboard

The application port number associated with the data.

Link copied to clipboard
val position: Position?
Link copied to clipboard

A string representation of the raw data.

Link copied to clipboard

Timestamp when the log was recorded.

Link copied to clipboard

Unique identifier for this log entry.

Functions

Link copied to clipboard