feat(variants): disable RF remote on Vesper Standard builds (F-069)
No fielded Vesper Standard unit has an RF receiver, but vesper-std.hpp set HAS_RF 1, so every build ran the RF task on GPIO 22 and exposed rf.* commands that could never do anything. Set HAS_RF 0 (RF_RX_PIN kept for a future RF revision). rf.* now return "Unknown command" on this build; agnus keeps RF. Docs updated to say rf.* is agnus-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@ Handlers are only registered when their dependencies exist on the build:
|
||||
|---|---|---|
|
||||
| `SystemHandler` (`ping`, `identify`, `system.*`) | RTC-less builds (`HAS_RTC=0`: agnus, agnus-mini) | `Unknown command` (HTTP `GET /api/ping` still works) |
|
||||
| `ClockHandler` (`clock.*`) | RTC-less builds | `Unknown command` |
|
||||
| `RFRemoteHandler` (`rf.*`) | builds without RF (`HAS_RF=0`: bespoke-rs485) | `Unknown command` |
|
||||
| `RFRemoteHandler` (`rf.*`) | builds without RF (`HAS_RF=0`: vesper-std, bespoke-rs485 — only agnus has it) | `Unknown command` |
|
||||
| `FileHandler` (`files.*`) | builds with no FileManager | `Unknown command` |
|
||||
|
||||
---
|
||||
@@ -731,7 +731,7 @@ Returns `data: { "deleted": 4 }`. Error: `SD card not available on this device`.
|
||||
|
||||
---
|
||||
|
||||
## RF Remote Namespace — `RFRemoteHandler` (HAS_RF builds only)
|
||||
## RF Remote Namespace — `RFRemoteHandler` (HAS_RF builds only — agnus)
|
||||
|
||||
Up to 16 slots, each binding one 433 MHz code to a playback action. Slots are blank by default. Stored in NVS namespace `rf`.
|
||||
|
||||
@@ -957,4 +957,4 @@ When `v` is `1` (or omitted on MQTT/WebSocket/UART), `LegacyAdapter` rewrites `c
|
||||
| `mqtt` | `enable`, `disable`, `get_config`, `get_topics`, `set_topics` |
|
||||
| `telemetry` | `get_strikes`, `reset_strikes`, `get_loads`, `set_max_loads`, `set_guard_enabled`, `get_metrics`, `reset_metrics`, `get_boot_history`, `get_diagnostics`, `reset_boot_data` |
|
||||
| `bells` | `enable`, `disable`, `get_config` |
|
||||
| `rf` | `set_slot`, `clear_slot`, `get_slots`, `enable` *(HAS_RF builds only)* |
|
||||
| `rf` | `set_slot`, `clear_slot`, `get_slots`, `enable` *(HAS_RF builds only — agnus)* |
|
||||
|
||||
Reference in New Issue
Block a user