mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Merge pull request #801 from meshtastic/telemetry-return
return for unhandled telemetry packet types
This commit is contained in:
commit
763f912d30
1 changed files with 4 additions and 0 deletions
|
|
@ -682,6 +682,10 @@ func telemetryPacket(packet: MeshPacket, connectedNode: Int64, context: NSManage
|
|||
telemetry.windLull = telemetryMessage.environmentMetrics.windLull
|
||||
telemetry.windDirection = Int32(truncatingIfNeeded: telemetryMessage.environmentMetrics.windDirection)
|
||||
telemetry.metricsType = 1
|
||||
} else {
|
||||
|
||||
/// Other unhandled telemetry packets
|
||||
return
|
||||
}
|
||||
telemetry.snr = packet.rxSnr
|
||||
telemetry.rssi = packet.rxRssi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue