mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix(service): set node time after config completion (#2970)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
f900ff682f
commit
755038219b
1 changed files with 4 additions and 4 deletions
|
|
@ -199,7 +199,7 @@ class MeshService :
|
|||
|
||||
private const val CONFIG_ONLY_NONCE = 69420
|
||||
private const val NODE_INFO_ONLY_NONCE = 69421
|
||||
private const val CONFIG_WAIT_MS = 250L
|
||||
private const val CONFIG_WAIT_MS = 50L
|
||||
}
|
||||
|
||||
private var previousSummary: String? = null
|
||||
|
|
@ -1750,9 +1750,6 @@ class MeshService :
|
|||
processQueuedPackets() // send any packets that were queued up
|
||||
startMqttClientProxy()
|
||||
serviceBroadcasts.broadcastConnection()
|
||||
packetHandler.sendToRadio(newMeshPacketTo(myNodeNum).buildAdminPacket { setTimeOnly = currentSecond() }) {
|
||||
connectionState
|
||||
}
|
||||
sendAnalytics()
|
||||
reportConnection()
|
||||
}
|
||||
|
|
@ -1825,6 +1822,9 @@ class MeshService :
|
|||
sendAnalytics()
|
||||
onNodeDBChanged()
|
||||
}
|
||||
packetHandler.sendToRadio(newMeshPacketTo(myNodeNum).buildAdminPacket { setTimeOnly = currentSecond() }) {
|
||||
connectionState
|
||||
}
|
||||
}
|
||||
|
||||
/** Start the modern (REV2) API configuration flow */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue