Skip to content

Commit 92c94dc

Browse files
authored
doc: update wifi docs (#21)
1 parent 086c13b commit 92c94dc

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,19 @@ terminal, not a redirected or piped one):
104104
- `+` / `-`: adjust refresh pacing live. See "Animation speed" below.
105105
- `[` / `]`: adjust color gamma live. See "Colors" below.
106106
- `z`: cycle through panel sizes live. See "Panel sizes" above.
107+
- `n`: toggle wifi on/off, to test how an app behaves offline. See
108+
"Wifi" below.
107109

108110
Typed into whichever terminal is running `matrixbox simulator` instead:
109111

110112
- `t`: toggle a guide line at each panel seam (see "Panel sizes"). Off
111-
by default; current state always shows in the stats line underneath.
113+
by default.
114+
115+
A reference for both sets of controls (plus `t`'s current state) is
116+
always shown under the panel in the `matrixbox simulator` window, since
117+
that's the one screen this tool fully redraws itself each frame — the
118+
`matrixbox app` terminal's own controls hint, printed once at startup,
119+
otherwise scrolls out of view under the app's own logs.
112120

113121
## Animation speed
114122

@@ -152,6 +160,18 @@ leans on. Known-good values:
152160

153161
For anything not listed, start around 5.0 and adjust live with `[`/`]`.
154162

163+
## Wifi
164+
165+
The sim's host machine is assumed to already have real network access,
166+
so `matrixbox app` starts connected by default and reports a fixed,
167+
reasonably strong signal — there's no real association to measure.
168+
169+
To test how an app behaves with no internet: `--no-wifi` boots already
170+
disconnected and stays that way for the whole run (the wifi setup
171+
page's own Connect button fails outright rather than faking success,
172+
same as there being no real network for it to join), or toggle it live
173+
with `n`.
174+
155175
## Screenshots
156176

157177
For CI, PR previews, or anywhere else a terminal isn't available:

0 commit comments

Comments
 (0)