fix(#483): restore strict capability gating, remove the diagnostics screen
A radio without the caps bits has no button and no buzzer to configure, so it gets nothing: no tile, no screen, no command. I had changed the tile to appear whenever a radio was connected and added a diagnostics pane showing its raw caps byte 2. Nobody asked for that. I added it on my own initiative because a silently absent screen looked like a broken client, and it broke the negative test #474 specifies verbatim: "A device that does not advertise the bit shows no screen and the client emits no command." "Settings screen appears ONLY when the device advertises the capability bit" That negative test is the reason client code ships ahead of firmware: cross-compatibility with radios that lack the bits can only be exercised if the client is out in front. My change would have made it fail on something I invented rather than on anything real. The tile is now gated on supportsButtonMatrix || supportsNotifyScope. The pane keeps a matching guard as belt and braces, not a reachable path. The no-command-emitted half was already correct and is unchanged. Full suite 740 pass, analyze clean, format clean. Epic: #474, #475 Agent: CalmBay (session d14220d9)feat/483-button-buzzer-ui
parent
a659cd1672
commit
9cd35ca54c
Loading…
Reference in new issue