kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
fix(service): set node time after config completion (#2970)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>pull/2976/head
rodzic
f900ff682f
commit
755038219b
|
|
@ -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 */
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue