main took v55 for withdrawing system.openWifiSsh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 KiB
duckctl — every command
Talk to a robot from a laptop, with no network and no ssh. It is the phone app's stand-in, and the way to reach a robot that has never seen a wifi network.
Bluetooth LE is how it gets there today, and the name deliberately does not say so: mediad gives
a robot a second transport that reaches a different set of methods, so the tool is named for what
it talks to rather than for the radio it currently uses. It was duck-btctl while BLE was the only
answer.
Never on a robot. Nothing in a release depends on it — robotctl is the tool that ships, and
cheatsheet.md has its commands, most of which have a duckctl equivalent
below.
Getting it
On any machine with uv — Linux, macOS or Windows:
uvx duckctl --name <robot-name> info
That runs the latest release, downloaded once and cached; nothing is compiled. To have a plain
duckctl on the PATH instead, uv tool install duckctl (uv tool upgrade duckctl to move it on).
It is the build of the latest daemon-v* release, so it can be behind main;
ci-setup.md has how it is published.
With Homebrew, on macOS or Linux:
brew install pierre-rouanet/tools/duckctl
brew upgrade duckctl moves it to each new release.
For what a branch last built — main included — on Linux or macOS:
curl -fsSL https://raw.githubusercontent.com/pollen-robotics/microduck/main/scripts/install-duckctl.sh | sh
It installs what main last built to ~/.local/bin. For another branch's build, name it:
curl -fsSL https://raw.githubusercontent.com/pollen-robotics/microduck/main/scripts/install-duckctl.sh | sh -s -- udp-pad
On Windows, in PowerShell:
irm https://github.com/pollen-robotics/microduck/releases/download/daemon-dev-main/duckctl-windows-x86_64.zip -OutFile duckctl.zip
Expand-Archive duckctl.zip -DestinationPath .
Every branch push publishes these builds on the daemon-dev-<branch> prerelease, beside the daemon. A macOS binary
downloaded in a browser rather than with the script is quarantined; clear it with
xattr -d com.apple.quarantine duckctl.
With a Rust toolchain, run it from a clone of this repo:
cargo run -q -p duckctl -- --name <robot-name> info
Or install it once, at the cost of a snapshot that no longer follows the branch:
cargo install --path duckctl
Without a clone, the same from GitHub — main, or add --branch <name> for another:
cargo install --locked --git https://github.com/pollen-robotics/microduck duckctl
Building needs no system headers: libdbus is compiled in. Then:
duckctl --name <robot-name> info
Every command below is written in the installed form. Prefix it with
cargo run -q -p duckctl -- to run it from the clone instead.
This tool used to install itself as btctl. If which btctl still finds one, it is a build from
whenever you installed it and it will never change again:
cargo uninstall btd --bin btctl
Finding a robot
duckctl scan
1 robot(s) advertising the duck service:
aa:bb:cc:dd:ee:ff duck-c51b — 192.168.1.42, 1 service(s) ← DUCK_ROBOT
7 other device(s) in range, not listed. …
Robots only, with everything else in radio range counted rather than listed. --verbose expands
that list, and it is worth reading when the robot you want is not in the first one.
Each robot broadcasts its IPv4 address, so this is also where the address to ssh to comes from. No
connection is made and no PIN is needed. no address on the line means the robot is not on a
network; a line with no address at all means a release from before robots broadcast one, and
duckctl wifi status still reports it.
The SSID is not in the listing — it does not fit in an advertisement. duckctl wifi status has
it, along with the signal and both addresses.
For the address on its own:
ssh microduck@$(duckctl ip)
ip prints the address and nothing else, so it substitutes. It reads the advertisement, so it
connects to nothing, needs no PIN, and takes about a second — and the answer is not stale: btd
re-reads the address every five seconds and re-advertises when it moves.
Or skip the substitution:
duckctl ssh
duckctl ssh -- sudo robotctl pad pair
ssh finds the address the way ip does and then becomes ssh, so the prompts, the terminal and
the exit status are ssh's own. The account is --user, else DUCK_BOARD_USER from the environment
— the variable dev-push.sh reads, so a laptop set up for pushing is set up for this
— else microduck. Words after -- run on the robot instead of opening a shell.
A shipping image answers ssh only on the head's USB-C link (microduck@192.168.42.1), never on
wifi (microduck_yocto#110), so over wifi duckctl ssh stops with "refused ssh" before ssh would.
That is deliberate, and there is no way to change it from Bluetooth: a shell on wifi means opening
the robot. Over the USB link, sudo touch /run/microduck-ssh-wifi opens it until the next reboot;
or flash the dev image, which keeps ssh open on wifi.
ssh and scp remember where they last found each robot, in ~/.cache/duckctl/addresses
($XDG_CACHE_HOME if set), and try that address first: if something answers on port 22 within a
second, the scan is skipped. If nothing does — the robot moved, is off, or the laptop is on another
network — it scans as before and remembers the new address. A lease handed to another machine shows
up as ssh's host-key warning; duckctl ip always scans, and refreshes the file as it does.
Files go the same way:
duckctl scp report.md :/tmp/
duckctl scp :/var/log/robotd.log .
A path starting with : is on the robot — scp's own host:path with the host left out, since the
host is the part this finds for you. Everything else reaches scp as typed, -r and the rest of
its flags included, and the progress meter and the exit status are scp's own. The account resolves
the way ssh's does.
This tool's own flags come first, before the paths:
duckctl --name ducky scp -r logs/ :/tmp/
A copy with no : anywhere in it is refused before the scan, because it is a local-to-local copy
that no robot is party to and nothing in scp's output would say so. A local file that really is
named :foo is ./:foo.
A robot bonded to this machine often stops advertising the service to it, and then ip connects and
asks net.status instead. That is slower and needs the PIN, and it always answers. --verbose says
which of the two happened.
A robot with no network address is told what to do about it rather than reported as empty, because
the fix is over the radio and has to be — net.connect is refused over WebRTC by design.
A robot that has never been renamed calls itself duck- plus four characters derived from its
serial, so duck-c51b. Either half of a robot reported under two names at once — macOS shows
radxa-zero3 [duck-c51b] — works as --name.
A robot that scanned as duck-c51b and then, after one connection, only as radxa-zero3 is on a
release that gave its name to the advertisement but not to the adapter, and the client cached the
adapter's. Update the robot. That does not clear what the client already cached, so clear it too:
bluetoothctl remove <mac> on Linux, or forget the robot in macOS Bluetooth settings.
With no name at all — no --name, no DUCK_ROBOT — the first robot found wins. With a name, two
robots answering to it is an error rather than a choice:
2 robots answer to "radxa-zero3": radxa-zero3, radxa-zero3
That happens on a board whose bootloader leaves its serial blank, because it is then named after its hostname and every board flashed from one image has the same one. Rename one from the robot itself and use the new name:
robotctl system set-name ducky
The console
The robot serves a page that streams its camera and drives it:
duckctl open
Finds the robot, then runs a small bridge on this machine and opens it in a browser; Ctrl-C closes
it. --print gives the URL instead of opening a browser. It needs the robot's setup code
(duckctl setup-code add), because since daemon 0.19 the robot serves its console on its own
loopback and the LAN reaches it only through the authenticated media gateway. The page is this
duckctl's copy, so keep duckctl current. Why it works this way, and what the bridge checks before
it lets a browser through:
webrtc-console.md §2.2.
What is on it: the camera with the link's bitrate, frame rate, loss and round trip beside it; two
pads and the keys W/A/S/D and Q/E to drive, at a gamepad's 0.3 m/s and 1.5 rad/s; a drag
on the picture to look at a point; enable, init, relax, stop and shutdown; the voice bank as a
menu and the skills as a menu the robot fills — which skills a robot has is config, so the
page asks robot.policies rather than offering a list it guessed; and the state stream at 2 Hz beside robot.health, which is where a hot servo, a flat
pack or a loop running slow gets named.
stop zeroes the intents the page is sending. It is not an emergency stop — nothing in this
system cuts servo power from a browser — and the button is a plain one for that reason.
The raw JSON box, the log, and the two calls a WebRTC peer is refused are in the drawer at the bottom. They prove the route table is being consulted rather than drive the robot.
Two ports are involved and only this one is typed: the page reaches the signalling server on 8443 itself, using the host it was served from. If the page loads and then says its signalling port did not answer, the robot is up and something between you and 8443 is not — a firewall, most often.
The camera and the drive controls are on WebRTC and nothing else, so a robot with no network address
has no console. Join it to one over the radio first — duckctl wifi connect below needs no network
of its own.
Always the same robot
Put the name in the environment instead of on every command line:
export DUCK_ROBOT=duck-c51b
Put that line in ~/.zshrc to keep it. Every command below then works without --name:
duckctl info
DUCK_PIN does the same for --pin, which a robot with a PIN of its own needs on every command:
export DUCK_PIN=418299
A robot with a setup code
A robot with a setup code — sudo robotctl system setup-code on it prints one — is in secure mode:
it refuses the PIN and serves only a client that proves the code's key, in the handshake
btd/src/secure.rs answers. Store the code once and every command finds
it by the robot's name:
duckctl ssh -- sudo robotctl system setup-code # prints md1:<robot id>:<key>, and the QR
duckctl setup-code add # paste it; read on stdin, kept out of history
duckctl ssh needs no code, since the address comes from the advertisement — so a robot already on
a network is where to copy it from. The text under the QR works too, label serial and all. Given
--name (or DUCK_ROBOT) that differs from the id in the code, add files it under both, and
duckctl name files it under the new name; setup-code list shows what is held and setup-code remove <name> forgets one. The file is ~/.config/duckctl/setup-codes, mode 0600, and it is a
credential: whoever copies it can talk to the robot.
A wrong key is a silence, not a refusal — the robot drops the link — so a stale code shows up as a failed handshake that names both causes: the wrong code, or a robot with no code at all.
For one command against a different robot, --name still wins:
duckctl --name duck-ffff info
To ignore the default for one command — a bench with somebody else's robot on it — set it to nothing:
DUCK_ROBOT= duckctl scan
scan marks the robot DUCK_ROBOT names and lists it first, and every command that goes looking
for it says so before it starts scanning.
Identity
duckctl --name <robot-name> info
Name, serial and uptime.
duckctl --name <robot-name> quack
The robot quacks in its own voice — every voice is generated from the serial — so the duck that answers is the one the name reached. A muted robot refuses and says so rather than staying silent.
duckctl --name <robot-name> name <new-name>
Up to 24 characters. It takes effect within a few seconds and needs no restart, but the Mac keeps
serving the name it learned earlier, so scan and macOS Bluetooth settings both lag behind. Every
later command uses the new name.
A rename does not follow DUCK_ROBOT. The tool says so afterwards; the variable has to be changed
by hand, or every later command looks for a name that no longer answers.
duckctl --name <robot-name> reboot
Wifi
duckctl --name <robot-name> wifi status
SSID, signal and addresses.
duckctl --name <robot-name> wifi scan
Takes a few seconds — the robot sweeps the radio rather than returning the previous scan.
duckctl --name <robot-name> wifi connect <ssid> --psk <passphrase>
Omit --psk for an open network. Joining disconnects the robot from the network it is on, so an ssh
session over wifi drops; that is the command working. It can take up to 45 seconds to answer.
duckctl --name <robot-name> wifi forget <ssid>
Is it alright
duckctl --name <robot-name> health
Whether the control loop is healthy.
duckctl --name <robot-name> reboot-motors
The way back from a servo in hardware error — overload, overheating, electrical shock — which
otherwise holds torque off until the battery is pulled. health names the joint. Add ids to reboot
only those:
duckctl --name <robot-name> reboot-motors 3 11
Torque goes off on every joint first, so hold the robot or have it lying down. It stays limp
afterwards, with the gains restored on the next write — press Start on the pad, or
duckctl call robot.init, to stand it back up.
duckctl --name <robot-name> status
The version handshake and the update status.
Which release is it running
duckctl --name <robot-name> version
The API version, the release, and the git revision it was built from. A revision of null means
the release was built on somebody's laptop rather than by CI.
Logs
duckctl --name <robot-name> logs robotd
The last 40 lines of that daemon's journal, this boot. For more, and for the boot before this one:
duckctl --name <robot-name> logs robotd -n 200
duckctl --name <robot-name> logs btd --boot -1
Readable units: updaterd, robotd, configd, btd, padd, mediad, tofd, plus
bluetooth and NetworkManager. The .service suffix is optional, and anything else comes back
refused with that list.
Lines go to stdout and everything else to stderr, so logs robotd -n 200 | grep -i panic works.
A long tail is trimmed to what the radio can carry, oldest lines first, with a note saying so.
A tail that spans a restart says where:
2026-09-09T12:27:20+00:00 systemd[1]: Starting robotd.service - Robot control daemon...
-- new robotd process, pid 3227 --
2026-09-09T12:27:21+00:00 robotd[3227]: control loop running joints=15 hz=50.0 driving=true
Which matters after an update, when forty lines carry two different builds' output. Anything in
-- … -- comes from the robot rather than the journal.
There is no -f, no --since and no search. For those, ssh in:
ssh microduck@$(duckctl --name <robot-name> ip)
journalctl -u robotd -f
Updates
Same words as robotctl update, so a command learned on the robot works here. Every one of them
takes --component <name> and defaults to daemon, which is the only component a robot has today.
duckctl --name <robot-name> update check
duckctl --name <robot-name> update status
duckctl --name <robot-name> update versions
duckctl --name <robot-name> update log --limit 20
Installing takes minutes and prints progress lines as it goes:
duckctl --name <robot-name> update apply
· daemon: preflight
· daemon: downloading 12%
· daemon: downloading 47%
· daemon: verifying
· daemon: swapping
· daemon: health_gate
{
"outcome": "applied",
"from": "0.5.1",
"to": "0.6.0"
}
note: the robot restarts its daemons now, and `btd` about five seconds after this reply — so this
connection drops. That is the update working. Reconnect and run `duckctl update status`:
`last_attempt` carries the outcome of what just ran.
The connection dropping after an apply is the update working, not a failure. Reconnect and read
update status.
A branch build, an exact version, or the staging candidate:
duckctl --name <robot-name> update apply --ref my-branch
duckctl --name <robot-name> update apply --version 0.5.1
duckctl --name <robot-name> update apply --staging
--dry-run verifies everything and stops before the swap. --ref and --version are alternatives;
asking for both is refused.
Going back — the previous release, or one named from update versions:
duckctl --name <robot-name> update rollback
duckctl --name <robot-name> update select 0.5.1
Both are gated like an apply, so one that does not come up is reverted. Neither discards anything.
Progress for an update somebody else started, or one triggered by the robot itself:
duckctl --name <robot-name> update watch
It prints where the update in flight has got to and then everything that follows. It never receives a reply, so it ends with Ctrl-C.
The operating system
update above installs the daemon release. os installs the whole root filesystem, into the A/B
slot the robot is not running, and every change ends in a reboot. Only a robot flashed with a
microduck_yocto image has slots; any other answers error 15, "cannot be updated over the air".
Which build each slot holds, what the robot's channel offers, and how an update is going:
duckctl --name <robot-name> os status
Ask the channel what is newest, changing nothing:
duckctl --name <robot-name> os check
Install the channel's newest:
duckctl --name <robot-name> os apply
Or a given build from os status's builds list, older ones included:
duckctl --name <robot-name> os apply --build 20261028093000
apply answers once the download has started, not when it is done. The robot then downloads,
installs and reboots by itself, and is gone for a minute or so. Run os status to follow it, and
again after the reboot: last_result says whether the new OS came up, or whether the robot went
back to the old slot because the new one did not pass its health check.
Going back to the other slot as it is, with no download:
duckctl --name <robot-name> os switch
Both refuse while the robot is moving, or while someone is watching it remotely —
--interrupt-sessions lifts the second — and while another update of either kind is running.
updater-design.md §11 has the mechanism.
The Hugging Face account
duckctl account login
Prints a code and opens https://hf.co/oauth/device, where you type it — Hugging Face's device page does not accept a code in the URL, so opening saves the navigation and not the typing. The robot does the waiting, so this tool disconnects as soon as it has printed the code — approve it in the browser it opened, or from any other device, then:
duckctl account status
duckctl account logout
This is the one thing that works on a robot that has never seen a network: no wifi means no console and no LAN, and Bluetooth is what is left. Signing in over BLE is the same flow the setup wizard runs.
duckctl account login --no-open
for the code and the URL without a browser — which is also what you get automatically when the output is not a terminal, so a script launches nothing.
A robot already signed in refuses and names the account, and so does one still waiting for a code
to be approved. --force replaces either — the abandoned code stops working.
Policies and skills
What each slot runs, and which skills this robot has:
duckctl policy list
The skills array is the answer to "what can this robot be asked for". They are config, so it
differs between robots and there is no list to assume — read it before offering a button.
Run one:
duckctl do roulade
The robot has to be driving. Press Start on the pad first, or it answers saying so. It needs no pad input though: the deadman zeroes the twist by itself, so a robot nobody is steering stands still and does the thing.
Change what it walks with, live:
duckctl policy load walk /opt/robot/policies/current/alpha_walking.onnx
Put that slot back:
duckctl policy reset walk
One slot at a time, because the wire call takes one — resetting all seven is
robotctl policy reset on the robot. The path is on the robot, and must be absolute.
A load from here survives a reboot, exactly as robotctl policy load on the robot does: the
daemon writes the slot into robotd.toml before it swaps. duckctl policy reset <slot> is the
undo.
Re-read every slot from the config file, for when something else changed it:
duckctl policy reload
The robot goes to its home pose with torque on, loads, and drives again — a few seconds, and the
timeout allows for it. A file that is not obs[1,61] -> actions[1,14] is refused before anything
changes, and a load that fails anyway keeps the policy that was running.
From the Hub
What else is published for this robot, and whether the official set has moved:
duckctl policy search microduck
duckctl policy check
Install the newest official set — or --version v1 to go back:
duckctl policy update
Download somebody else's, without running it. The robot refuses until
policy.allow_community is true in sudo robotctl configure on it:
duckctl policy fetch RemiFabre/microduck-flamingo-cycle
The reply names the path it landed at. load takes a path and never org/repo: fetching and
loading are two calls here where robotctl spells both with one string.
Giving it a name
fetch downloads a file; this makes it something robot do answers to:
duckctl policy skill polite-bow --path /var/lib/robot/policies/fffiloni/microduck-polite-bow-b1d864/main/policy.onnx --duration 4
duckctl do polite-bow
One call — the robot writes its config and reloads, so nothing restarts. --duration is required
the first time and kept afterwards, so changing one field means sending one field:
duckctl policy skill polite-bow --command 1,0,0
--command is the twist fed to the network while it runs, zeros unless the policy reads its twist
as something else — flamingo's is [flag, side, 0]. --unwind and --unwind-s are how a policy
that holds until told otherwise is brought back.
What this robot can be asked to do, and the timings behind each:
duckctl policy skills
built_in in that answer names ground_pick and sit_toggle, which robot do also accepts but
which are driven by the robot itself and are not table entries.
duckctl policy unskill polite-bow
A skill this robot's release ships comes back when you do that, because removing the entry only removes the override.
Nothing a stranger publishes is verified by anybody. What makes it safe to try is the manifest gate before the download, the shape gate at load, the joint clamps and the fall reflex — not the description. Have the robot on its stand the first time.
Which button runs which skill
duckctl pad bindings
duckctl pad bind x polite-bow
duckctl pad reset x
Nothing restarts and nothing else is needed — padd re-reads the file within a second. The
name is checked against this robot's skills first, so a typo comes back as a refusal naming the
real ones rather than becoming a button that does nothing when pressed.
The listing marks two things a client cannot work out for itself: overridden, so somebody's
changes are visible without knowing the defaults, and error, for a button bound to a skill this
robot no longer has — the realistic way to get one of those is removing a skill, not mistyping.
"" switches a button off, which is a different wish from pad reset putting it back to what the
robot ships with. Six buttons are bindable: a, b, x, y, lb, rb — and lb/rb are
the bumpers, since the analog triggers are the mouth and the quack.
Pairing a pad is a different namespace and a different daemon — pad.pair and pad.forget are
configd's, reached with call. These two are robotd's, because checking a skill name needs
the list of skills.
A pad on this machine, over UDP
duckctl udp-pad
Sends the state of the gamepad a button is pressed on (or --pad N) to a duck whose
[netpad] enabled is true. The address is found the way ip finds it, so --name picks the robot;
give one instead (duckctl udp-pad 192.168.1.42) and no Bluetooth is involved at all. --hz (10 to 100, default 30) is the most it
sends a second. One per duck drives several ducks from one laptop. The quack and the wheee play
from this machine, in a voice of its own, while the duck only opens its mouth; --mute keeps this
machine quiet and --robot-sound-on has the duck quack too. It is a LAN tool, and
udp-pad.md has the setup, several ducks, the laptop's voice, and the wire format.
Writing an NFC tag
duckctl --name <robot-name> nfc-flash walk_mode
The duck asks for a tag with its pad-lost sound; touch an NTAG to its head within 20 seconds
(--timeout, up to 120). It quacks when the tag took. What is written and what is refused is in
pair-a-gamepad.md.
Anything else — call
duckctl --name <robot-name> call <method> '<json-params>'
Params default to {}. These are reachable over Bluetooth but have no wrapper of their own, and are
written without the duckctl --name <robot-name> in front of them:
call system.services |
Which daemons are up, and the release each runs. |
call pad.status |
Is a gamepad bonded, and is it connected? |
call pad.pair '{"timeout_seconds":30}' |
Bond a pad held in pairing mode. |
call pad.forget '{"mac":"<address>"}' |
Drop a bond. |
call waits 60 seconds for an answer. The update commands above wait on silence instead — three
minutes with nothing arriving at all — which is why they are the way to run an update rather than
call update.apply.
Global options
--name <robot-name>— which robot. Without it,DUCK_ROBOT; without that, the first one found wins. Worth giving always: it skips a slow fallback tier that tries every already-connected peripheral on the Mac, earbuds included.--pin <six-digits>— defaults toDUCK_PIN, then to000000.robotctl system pinon the robot shows the real one.--verbose— print every line sent and received, and havescanlist every device rather than only the robots. The first thing to add when something hangs.
What it prints
Replies go to stdout as pretty JSON, and everything else — progress, diagnosis, what the radio
saw — to stderr. logs is the exception and prints its lines as lines, since a journal tail in
escaped JSON is unreadable; a refusal from it still prints as JSON. So duckctl ... info > reply.json keeps the two apart, and a JSON-RPC error
from the robot still exits non-zero. Progress lines start with · and are one line each, so
update apply > outcome.json leaves them on screen and keeps the outcome in the file.
One command is one connection: it finds the robot, pairs if it has to, proves the PIN — or the
setup code, for a robot it holds one for — asks, and disconnects. On Linux it registers a pairing agent of its own
while it runs, consenting for that robot and refusing everything else, so a first pairing needs no
desktop Bluetooth settings open — without one BlueZ refuses the bond (No agent available in
journalctl -u bluetooth).
Every command gives up after a period of silence rather than after a fixed total, so a slow update
is never cut off and a robot that stops answering is reported in seconds. A link that drops is
reported at once rather than waited out, and after an apply it says so: the restart is what took the
connection down. An update in flight survives either: the robot pulls, so it carries on with nobody
watching, and update status afterwards says how it went.
What is refused
Teleop (robot.move, robot.head, robot.look, robot.pose, robot.mouth), the emergency stop
(robot.stop), letting the joints go (robot.relax), high-rate telemetry (robot.subscribe), the
two update commands a person has to mean (update.pin, update.resetToGolden) and the pairing PIN
(system.pairingPin, system.setPairingPin) are refused by btd itself and never reach a daemon.
They come back as error code 14, "not available over Bluetooth".
robot.do, robot.init, robot.enable and robot.rebootMotors are not in that list, though
all four move the robot: teleop is a stream of fifty small updates a second, which is what a
20-byte notification budget cannot carry, and each of these is one request. robot.relax is the
one that stays refused on grounds other than rate — its only outcome is a robot that was holding
itself up and now is not.
That is a security boundary rather than a missing feature, and each refusal has its reason next
to it in btd/src/route.rs — app-path-design.md §3.1 is the
design.
Those commands are robotctl on the robot.
When it cannot find the robot
duckctl --verbose scan
An empty list — not one pair of earbuds — points at the Mac rather than the robot: Bluetooth off, or the terminal never granted the Bluetooth permission.
A list the robot is missing from points at the robot. It advertises its name in a scan response that
can be missed on its own, so a device reported with no name and no services is a plausible robot;
--name connects to one anyway. If macOS shows the robot as paired but a connection or the first
read hangs, the bond is half-finished:
sudo pkill bluetoothd
Forgetting the robot in macOS Bluetooth settings does the same thing. On the robot itself,
journalctl -u btd -b says whether the GATT application registered at all.
After the robot has been reflashed, a laptop that was bonded with it before still holds its
half of a bond the robot no longer has: connecting times out every time, though nothing else holds
the robot. On Linux, bluetoothctl info <mac> shows Paired: yes, and
bluetoothctl remove <mac>
clears it; on macOS, forget the robot in Bluetooth settings. The same goes for a phone: forget the
robot in the phone's Bluetooth settings, not only in the app. scan ignores a device that BlueZ
remembers but has not heard in this scan — the cached copy of an old advertisement, with an
address the robot may have left days ago — and --verbose says when it does.