Preserve radio2 ACK ownership without extending expired leases
Keep tracked reply generations stable in feature-off builds as well as optional transport builds. After ACK copies drain, let expired temporary profiles restore saved settings while failed permanent commits stay staged and retry. Cover packet generations, rollover, persistent commit faults, cancellation and eventual commit across feature-off, Meshtext and Ethernet configurations. Document ACK ownership and post-reply storage retry behavior.
This commit is contained in:
1 parent
b1197c5352
commit
9df586df7e
3 files changed
+194
-9
No files matched your search
@@ -71,10 +71,15 @@ copies finish, with at least one successfully transmitted. A reply that cannot
|
||||
be queued or whose copies all fail cancels the change. Queued replies have a
|
||||
five-minute deadline; an already-transmitting copy may finish under the normal
|
||||
radio watchdog. This confirms transmission, not reception by the remote client.
|
||||
An active temporary profile keeps its radio generation until those tracked
|
||||
reply copies finish or are retired, but its remaining lease continues counting
|
||||
down during that wait.
|
||||
|
||||
Permanent remote changes are prepared in an uncommitted file before replying;
|
||||
the saved configuration is replaced only after reply transmission. If that
|
||||
replacement fails, the old channel remains active and the commit retries.
|
||||
replacement fails, the requested settings remain pending and the commit retries.
|
||||
An expired temporary profile returns to the last saved configuration during
|
||||
those post-reply storage retries; the uncommitted settings do not become active.
|
||||
Local `get radio2.status` reports this pending state. Roles without the tracked remote
|
||||
reply path require local USB for these immediate secondary-profile changes.
|
||||
|
||||
|
||||
Reference in new issue
Block a user