mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
begin support for showing/sharing qr codes for channel settings
This commit is contained in:
parent
4ca5828914
commit
b17e7231c0
8 changed files with 60 additions and 9 deletions
|
|
@ -541,6 +541,14 @@ class MeshService : Service(), Logging {
|
|||
})
|
||||
}
|
||||
|
||||
override fun getRadioConfig(): ByteArray = toRemoteExceptions {
|
||||
return connectedRadio.readRadioConfig()
|
||||
}
|
||||
|
||||
override fun setRadioConfig(payload: ByteArray) = toRemoteExceptions {
|
||||
connectedRadio.writeRadioConfig(payload)
|
||||
}
|
||||
|
||||
override fun getNodes(): Array<NodeInfo> = toRemoteExceptions {
|
||||
val r = nodeDBbyID.values.toTypedArray()
|
||||
info("in getOnline, count=${r.size}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue