mock interface now pretty completely simulates a real device

This commit is contained in:
Kevin Hester 2021-02-01 10:56:47 +08:00
parent a0160cadf9
commit 7d846461e4
7 changed files with 103 additions and 43 deletions

View file

@ -606,7 +606,7 @@ class MainActivity : AppCompatActivity(), Logging,
/// Called when we gain/lose a connection to our mesh radio
private fun onMeshConnectionChanged(connected: MeshService.ConnectionState) {
debug("connchange ${model.isConnected.value}")
debug("connchange ${model.isConnected.value} -> $connected")
if (connected == MeshService.ConnectionState.CONNECTED) {
model.meshService?.let { service ->