GateLink

not connected
Gate
—
Cause—
Last command result—
Travelling to—
Link
Link—
Peer verified—
Other board—
Last frame—
RSSI / SNR (here)—
RSSI / SNR (at gate)—
Details
TX / RX—
Retries / give-ups—
MAC fail / replays—
Channel busy: held / sent anyway—
CRC errors—
Noise floor—
Frequency error—
I/O
House bridge
Controller power—
Commands armed—
Sync window / resync—
Last command—
Gate limits (remote)—
Gate AC power / spare—
Gate uptime—
Gate heartbeat / link timeout—
Board
Role—
Firmware—
Uptime—
Last reset—
Supply (VIN)—
Radio—
Health / fault output—
Inputs settling—
Details
Config at boot—
Free RAM / USB lines lost—

Apply updates the running settings (radio settings take effect immediately); Save writes them to flash. Saved config and key survive firmware updates (firmware 0.5.0 or later); export a copy anyway. Settings marked * must match on both boards, as must the link key.

Link key

Every frame is authenticated with HMAC-SHA256 using a shared 128-bit key. Both boards must have the same key. The key is write-only; it can't be read back from a board, but each board reports its key id, which tells keys apart without revealing them: when both boards show the same id, they hold the same key.

Key set on this board—
Key id on this board—
Config and key saved in—

Generate a key once, save an encrypted backup (keep its passphrase in a password manager), write the key to this board, then connect the other board, restore or paste the same key and write it there: both boards then show the same key id. Generate the install's key from a local copy of this page or with tools/gatelink.py key gen; see key management for when to replace it.

Firmware update
This board—
Latest release—

Connect the board to update, or start with it in its bootloader (press reset twice quickly; the LED fades in and out). Role, config and key stay on the board (firmware 0.5.0 or later). If an update fails, the board stays in its bootloader: flash again.

Maintenance

Factory reset erases this board’s settings and link key and restores the defaults; set its role and key again afterwards. Export its config first (Config → Export JSON).

Developer
Security self-test

Re-transmits this board's last frame verbatim. The peer must reject it (its replay counter goes up), unless it was a message it already ACKed, in which case it only re-sends the ACK.

Setup, as the connected board sees it
    Field wiring for each board. Opens on the connected board's role.
    Wiring diagram
    Relay contact (board switches it) Input (board reads a signal to 3.3 V) Power
    Check the wiring: the connected board

    Its inputs and relays as it reads them now, and a relay test.

    ms
    Terminal connections
    Notes
      Connect a board
      Passphrase