Skip to content
Discussion options

You must be logged in to vote

@olivluca Your "nitpicking" is always spot-on — please never stop! Both fixed in v2.1.1.

  1. First poll: the daemon now seeds last_dataset from the REST API (/node/dataset/active) before entering the loop. Tested: the dataset is already available ~5s after otbr-agent starts (even while still in "detached" state), so the seed captures the existing dataset and the first poll sees no change — no redundant write.

  2. Clean stop: removed the unconditional cp from both the trap and the stop) handler. The daemon already syncs to flash whenever the dataset changes — no need for a final copy. Frame counters are ephemeral (OpenThread recovers by jumping ahead on next boot).

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jnilo1
Comment options

Answer selected by olivluca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants