mirror of
https://github.com/pollen-robotics/microduck.git
synced 2026-12-03 11:00:02 +08:00
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