mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-24 00:33:14 -04:00
begin support for showing/sharing qr codes for channel settings
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user