RadioMetrics

data class RadioMetrics(val rssiDbm: Int, val snrDb: Float, val hopsAway: Int?, val viaMqtt: Boolean)(source)

Physical layer metrics for a received packet.

Constructors

Link copied to clipboard
constructor(rssiDbm: Int, snrDb: Float, hopsAway: Int?, viaMqtt: Boolean)

Properties

Link copied to clipboard

number of mesh hops the packet traversed. null if the packet was local or from a version of firmware that does not report hop_start.

Link copied to clipboard

Received Signal Strength Indicator in dBm.

Link copied to clipboard

Signal-to-Noise Ratio in dB.

Link copied to clipboard

true if the packet arrived via an MQTT bridge rather than LoRa.