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:
1 parent
fe063065e1
commit
fca92541f6
6 files changed
+121
-30
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user