Skip to content

SD card

Luke Switzer edited this page Nov 23, 2026 · 1 revision

The SD card stores the logs, captures and databases that a node writes while it runs. Use a card that the node can mount, or the node keeps no logs and no captures.

Card requirements

Format the card as FAT32 and use an 8 GB card. The tiers that include a card ship with an 8 GB card.

If the node does not detect the card, check that the card is FAT32, that it is 8 GB, and that it is seated.

Files the node keeps

These are the main files on the card.

Path Contents
/last_results.txt The most recent scan results, as text
/devicedb.bin The device database
/probedb.bin The probe database
/baseline_data.bin The devices in the baseline
/campaigns.csv The start and stop time of each campaign
/vibrations.jsonl Vibration events
/pcap/wifi_*.pcap, /pcap/ble_*.pcap Captures you start by hand. The node never removes these on its own
/pcap/wifi_auto_*.pcap, /pcap/ble_auto_*.pcap Captures that a vibration trigger or a Sentinel response starts. The node deletes them to stay inside the capture budget and free-space floor

Read the files in the web UI with Data explorer.

Storage settings

Open System tab → Settings → Storage. The section has one status line and two controls.

Control What it does
Status Shows whether the card is mounted, how many mounts failed, and whether a repair is queued
Rebuild an unmountable card When on, the node reformats a card it cannot mount. This erases the card
Repair now Remounts the card now. It erases the card only if every mount attempt fails

When the card does not mount, the node tries these steps in order.

  1. It restarts the SD bus and retries the mount up to three times.
  2. It retries at two slower bus speeds.
  3. If Rebuild an unmountable card is off, it logs a message and leaves the card unmounted.
  4. If Rebuild an unmountable card is on, it reformats the card and erases it.

Repair now works even when Rebuild an unmountable card is off. For that one repair, the node turns the switch on, so the card is erased if every mount fails.

Repair over mesh

Send SD_REPAIR to a node. Its alias is SDR. See Command reference.

Command What it does Reply
@AH01 SD_REPAIR Reports the Rebuild an unmountable card setting SD_REPAIR_ACK:ON or SD_REPAIR_ACK:OFF
@AH01 SD_REPAIR:ON Turns the rebuild on SD_REPAIR_ACK:ON
@AH01 SD_REPAIR:OFF Turns the rebuild off SD_REPAIR_ACK:OFF
@AH01 SD_REPAIR:NOW Remounts the card now, and rebuilds it only if every mount fails SD_REPAIR_ACK:REPAIRED or SD_REPAIR_ACK:FAILED

Repair can erase the card

A rebuild erases everything on the card. Copy the logs and captures you need before you run Repair now or SD_REPAIR:NOW.

Stop a capture before you cut power

The card has no protection against power loss. If you reset or unplug a node while it writes a capture, the card can become unreadable until you reformat it.

The node then runs with no storage. It has no logging, no baseline and no captures. Stop the capture first with @AH01 PCAP_STOP, or stop every scan with @AH01 STOP.

To erase a node's data on purpose, use Secure wipe.

Clone this wiki locally