mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat(ui): Display BLE signal strength for connected device (#3721)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
73d933fe14
commit
a497086c77
4 changed files with 26 additions and 23 deletions
|
|
@ -90,13 +90,6 @@ constructor(
|
|||
private val _currentDeviceAddressFlow = MutableStateFlow(radioPrefs.devAddr)
|
||||
val currentDeviceAddressFlow: StateFlow<String?> = _currentDeviceAddressFlow.asStateFlow()
|
||||
|
||||
private val _isRssiPollingEnabled = MutableStateFlow(false)
|
||||
val isRssiPollingEnabled: StateFlow<Boolean> = _isRssiPollingEnabled.asStateFlow()
|
||||
|
||||
fun setRssiPolling(enabled: Boolean) {
|
||||
_isRssiPollingEnabled.value = enabled
|
||||
}
|
||||
|
||||
private val logSends = false
|
||||
private val logReceives = false
|
||||
private lateinit var sentPacketsLog: BinaryLogFile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue