mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-17 07:14:23 +01:00
* first steps * fix formatting * more details * Clarify wifi reset branch, and loop branch on mqtt message listen * Small nits
46 lines
2.8 KiB
Markdown
46 lines
2.8 KiB
Markdown
```
|
|
POWER UP ────── SOLID RED
|
|
│
|
|
│
|
|
│
|
|
│
|
|
YES ┌────────▼──────────┐
|
|
┌─────┤NVS GOT WIFI, KEYS?│
|
|
│ └────────┬──────────┘
|
|
│ │
|
|
│ │NO
|
|
│ │
|
|
│ ▼
|
|
┌─► RESET ───────────┼───────► SERVING WIFI AP ────── YELLOW BLINK
|
|
│ WIFI │ │
|
|
│ │ │
|
|
│ │ │
|
|
│ │ ▼
|
|
│ │ CONNECTION RECEIVED ────── YELLOW SOLID
|
|
│ │ │
|
|
│ │ │
|
|
│ │ │
|
|
│ │ ▼
|
|
│ └───────► GOT THE CREDENTIALS, KEYS ────── ORANGE BLINK
|
|
│ ATTEMPTING TO CONNECT TO WIFI
|
|
│ │
|
|
│BUTTON PRESS │
|
|
│ │
|
|
│ ▼
|
|
┌───┴────────────────┬────► WIFI CONNECTED,
|
|
│WIFI CONNECTIOW DOWN│ CONNECTING TO MQTT BROKER ────── VIOLET BLINK
|
|
│ == │ │
|
|
│ SLOW BLINK RED │ │
|
|
└────────────────────┘ │
|
|
▼
|
|
┌─────────────────────┬───► ┌──► CONNECTED TO MQTT BROKER, ────── BLUE BLINKS
|
|
│ MQTT CONNECTION DOWN│ │ LISTENING TO MESSAGES EVERY FIVE SECONDS
|
|
│ == │ │ │
|
|
│ FAST BLINK RED │ │ │
|
|
└─────────────────────┘ │ │
|
|
│ ▼
|
|
└─── SIGNED A MESSAGE ────── GREEN BLINK
|
|
```
|
|
|
|
Paste the code block above into `asciiblock.com` to make edits. Then press the download button on the top right of the pane to bring it back here.
|