mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
when in sim, allow user to toggle between service on and off
This commit is contained in:
parent
e710b67131
commit
4db838b5e3
1 changed files with 5 additions and 1 deletions
|
|
@ -270,8 +270,12 @@ class BTScanModel(app: Application) : AndroidViewModel(app), Logging {
|
|||
|
||||
val testnodes = listOf(
|
||||
DeviceListEntry("Simulated interface", "m", true),
|
||||
DeviceListEntry(context.getString(R.string.none), "n", true)
|
||||
/* Don't populate fake bluetooth devices, because we don't want testlab inside of google
|
||||
to try and use them.
|
||||
|
||||
DeviceListEntry("Meshtastic_ab12", "xaa", false),
|
||||
DeviceListEntry("Meshtastic_32ac", "xbb", true)
|
||||
DeviceListEntry("Meshtastic_32ac", "xbb", true) */
|
||||
)
|
||||
|
||||
devices.value = (testnodes.map { it.address to it }).toMap().toMutableMap()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue