Listing devices
In AEL, the Agent Engineering Language, you will flash and monitor supported boards from the command line. ael devices (command names may change before launch) will list the devices connected to your machine, so you can choose the one to work with.
Status
Planned for AEL Beta 0.0.1. AEL is not available yet.
Usage
ael devices
ael devices --json
| Option | Meaning |
|---|---|
--json | The list in machine-readable form. |
What it shows
For each connected device, it will show:
- 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 will be marked as busy.
What it never does
ael devices will only look. It will never flash, reset or change a device, and it will never select one for you: every command that works on a device will name 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 will never guess 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 boards planned for Beta 0.0.1.