Listing devices
In AEL, the Agent Engineering Language, you flash and monitor supported boards from the command line. ael devices lists the devices connected to your machine, so you can choose the one to work with.
Usage
ael devices
ael devices --json
| Option | Meaning |
|---|---|
--json | The list in machine-readable form. |
What it shows
For each connected device, it shows:
- Its identity: a stable identifier for the device. This is what you give to
--device. - Where it is connected, such as the port it uses.
- Which board it is, as far as it can be recognized, and what it offers.
- Whether it is in use: a device that another command is flashing or monitoring is marked as busy.
What it never does
ael devices only looks. It never flashes, resets or changes a device, and it never selects one for you: every command that works on a device names it explicitly.
Choosing a device
Give the identity from the list to the commands that work on a device:
ael devices
ael flash --target <board> --device <device> --artifact build/sensors
ael monitor --device <device>
<device> stands for an identity from the list. Replace it with the real one: a command never guesses which device you meant.
Related
- Flashing a board: writing a firmware image to one device.
- Monitoring a device: showing a device's output.
- Microcontroller boards: the supported boards.