add colour coding to traceroutes (#3227)

This commit is contained in:
Dane Evans 2025-09-29 02:53:33 +10:00 committed by GitHub
parent 3951ebb375
commit cd010c4967
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 91 additions and 20 deletions

View file

@ -53,11 +53,11 @@ import org.meshtastic.core.ui.theme.StatusColors.StatusOrange
import org.meshtastic.core.ui.theme.StatusColors.StatusRed
import org.meshtastic.core.ui.theme.StatusColors.StatusYellow
private const val SNR_GOOD_THRESHOLD = -7f
private const val SNR_FAIR_THRESHOLD = -15f
const val SNR_GOOD_THRESHOLD = -7f
const val SNR_FAIR_THRESHOLD = -15f
private const val RSSI_GOOD_THRESHOLD = -115
private const val RSSI_FAIR_THRESHOLD = -126
const val RSSI_GOOD_THRESHOLD = -115
const val RSSI_FAIR_THRESHOLD = -126
@Stable
private enum class Quality(