Files
microduck/configd
Pierre Rouanet 3fd36274a9 net.status reports the join in flight
net.connect answers once, after up to 55s. While it runs, net.status now
carries `joining: {ssid, step, elapsed_seconds, timeout_seconds}`, with
step one of scanning, associating, authenticating, key_rejected,
addressing. configd's connect fills it: the scan first, then the
device transitions it already subscribes to. A Join handle clears the
slot on drop, so every return path clears it.

duckctl wifi connect polls it every 2s on the same BLE session and
prints each step change; robotctl net status shows it. FakeNet walks
the same steps and can hold a join at one, which is how the tests see
a join in flight.

API v57: additive, absent from an older configd.

Assisted-by: Claude:claude-opus-5-5
2026-11-12 15:32:08 +01:00
..
2026-11-12 15:32:08 +01:00