begin support for showing/sharing qr codes for channel settings

This commit is contained in:
geeksville
2020-02-11 19:19:56 -08:00
parent 4ca5828914
commit b17e7231c0
8 changed files with 60 additions and 9 deletions

View File

@@ -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}")