The device screen names the Cap's slot, and the node names the Cap

Until MeshTerm connects, nothing can say which LoRa Cap is on a
Cardputer Zero. A radio on the SPI bus answers nothing until the node
runs on it, and the list probes nothing on purpose: a radio is in it
exactly when there is a device file to open. A probe would have to
power the header on every pass of the device screen, and it still could
not tell the older Cap from an empty header, because that answer comes
from the radio itself.

So the row names the slot. It reads "Cap LoRa", the family of the two
boards, in place of a claim that the newer one is attached.

The node names the board. It is the one part that sees which revision
answered, so the parent sends it the model of each revision and the
node reports the one that it found. The rest of the path was already
there: the frame server gives that model to the client, the store keeps
it beside the node name, and the hardware column of the device screen
shows it. A Cap is exact from its first connection onward, with no
probing, no power to the header for a listing, and no new permissions.

board_name is gone. Its one caller wanted the model, which board_models
answers now, and the row takes its name from the table as it always
did.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 5 committed 2026-11-23 00:01:19 -05:00
1 parent fe063065e1
commit fca92541f6
6 files changed
+121 -30

No files matched your search

+5 -2
View File
@@ -199,8 +199,11 @@ says that power without the antenna can permanently damage the radio.
3. Push the Cap onto the expansion header at the back.
4. Turn on the Cardputer Zero, and start MeshTerm.
The device screen lists the Cap as **Cap LoRa-1262**. `meshterm --spi` also reaches it from the
command line.
The device screen lists the Cap as **Cap LoRa**. It cannot say more before it connects,
because a radio on the SPI bus answers nothing until MeshTerm starts the node on it. After
the first connection, the hardware column of the device screen names the Cap that
answered: **Cap LoRa-1262**, or **Cap LoRa868** for the older one. `meshterm --spi` also
reaches the Cap from the command line.
The Cap has no MeshCore firmware of its own. It is only a radio chip. Thus, while MeshTerm
is open, MeshTerm is the node, as it is on the AIO board of a uConsole. MeshTerm needs the
+5 -3
View File
@@ -93,9 +93,11 @@ to install the library.
**Two boards need no configuration.** The wiring of an AIO v1 is the MeshTerm default.
Thus, when `/dev/spidev1.0` exists, the device screen lists it. The name is **uConsole AIO**
on a uConsole, and **SPI radio** on any other machine. MeshTerm also includes the Cap
LoRa-1262 of M5Stack on a Cardputer Zero. The device screen lists it as **Cap LoRa-1262**
on a Cardputer Zero (refer to [the Cardputer Zero page](../devices/cardputer-zero.md#the-cap-lora-1262)).
on a uConsole, and **SPI radio** on any other machine. MeshTerm also includes the LoRa
Cap of M5Stack on a Cardputer Zero. The device screen lists it as **Cap LoRa**, because
until MeshTerm connects, nothing can say which of the two Caps is attached. After it
connects, the hardware column names the one that answered (refer to [the Cardputer Zero
page](../devices/cardputer-zero.md#the-cap-lora-1262)).
For either board, `meshterm --spi` reaches the radio. To add any other board, write a
profile that states how the board is wired. A profile on the same `/dev/spidev*` replaces
the wiring that MeshTerm includes.