feat #3436 - add current IP address' to the settings > network panel. (#3537)

This commit is contained in:
Dane Evans 2025-10-30 16:54:07 +11:00 committed by GitHub
parent 54104b00ed
commit 7497ef71c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 69 additions and 0 deletions

View file

@ -2296,5 +2296,13 @@ class MeshService : Service() {
override fun requestNodedbReset(requestId: Int, destNum: Int) = toRemoteExceptions {
packetHandler.sendToRadio(newMeshPacketTo(destNum).buildAdminPacket(id = requestId) { nodedbReset = 1 })
}
override fun getDeviceConnectionStatus(requestId: Int, destNum: Int) = toRemoteExceptions {
packetHandler.sendToRadio(
newMeshPacketTo(destNum).buildAdminPacket(id = requestId, wantResponse = true) {
getDeviceConnectionStatusRequest = true
},
)
}
}
}