ESPSomfy-RTS/test
R. Sid Shaytay 60d1872f35
Report a dead radio clearly, retry receive once and drop stale repeats
A frequency scan was accepted when the radio was enabled but had failed its
checks, and the client waited for results that never came. It is now refused
with radioUnavailable: "The radio is disabled" or "The radio did not
respond". Generic boards are unchanged (available() equals config.enabled).

One missed switch into RX after a transmission or scan used to disable the
radio until reboot. startReceive() now goes idle and calls SetRx once more
(RADIO_RX_ATTEMPTS = 2, decided by radioRxOutcome) and gives up only after
that. Repeater frames are dropped while the integrated radio is unavailable
instead of being retried and sent stale later.

Serial output in startReceive(), checkBoardRadio() and BoardProfile moves to
ESP_LOG*, and the per-transmission RF switch readback is gone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 18:50:41 -08:00
..
e2e Merge origin/main into test/config-records 2026-10-29 18:02:56 +01:00
fixtures/proto2 Show the fixed radio pins as read-only in the web UI 2026-11-14 18:41:27 -08:00
js Show the fixed radio pins as read-only in the web UI 2026-11-14 18:41:27 -08:00
scripts ci: review fixes for the release job and set_version.sh 2026-10-31 19:34:14 +01:00
stubs Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
test_apitoken feat: sign tokens with a secret key, compare them in constant time 2026-10-27 19:41:43 +01:00
test_boardprofile Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
test_boardprofile_plus Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
test_bootpins fix: warn of radio pins that block flashing over USB 2026-10-29 22:54:11 +01:00
test_bootpins_s3 fix: warn of radio pins that block flashing over USB 2026-10-29 22:54:11 +01:00
test_configheader fix: stop the 5 s boot wait, tell the client about a bad restore 2026-10-19 18:08:16 +02:00
test_configrecords fix: review fixes for the shades.cfg records 2026-10-29 17:25:07 +01:00
test_ethphy fix: review fixes for the ESP32-P4 build 2026-10-29 20:10:36 +01:00
test_ethphy_p4 fix: review fixes for the ESP32-P4 build 2026-10-29 20:10:36 +01:00
test_frame fix: turn a group's sun flag on, not off, for MQTT sunFlag 1 2026-10-12 20:55:21 +02:00
test_httpaccess fix: close the token bypass below a route, review fixes for 4b 2026-10-28 19:39:51 +01:00
test_itemsnapshot feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
test_json feat: socket protocol 2 core on ws://host/ws 2026-10-24 11:03:07 +02:00
test_logging refactor: time steps with ElapsedTimer::lap() 2026-10-13 15:39:14 +02:00
test_loginthrottle fix: review findings on the login throttle 2026-10-27 18:44:39 +01:00
test_loopqueue feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
test_modeleditor fix: deletes send their removal after the reply; test_reboot waits for the restart 2026-10-25 13:07:17 +01:00
test_motion fix: default a set-favorite request's tilt to the favorite tilt 2026-10-14 15:57:49 +02:00
test_mqttcommands refactor: split the transports into the modules GLOSSARY.md names 2026-10-16 13:47:56 +02:00
test_mqttdisco chore: name cjkas as the manufacturer in MQTT discovery and SSDP 2026-10-31 13:27:45 +01:00
test_proto fix: review fixes for the OTA slot 2026-10-28 22:19:27 +01:00
test_protoassembly fix: edit ops review findings 2026-10-24 18:10:06 +02:00
test_protoedits fix: edit ops second review findings 2026-10-24 18:29:34 +02:00
test_protoops fix: edit ops second review findings 2026-10-24 18:29:34 +02:00
test_protosettings Show the fixed radio pins as read-only in the web UI 2026-11-14 18:41:27 -08:00
test_protoslots fix: protocol 2 core review findings 2026-10-24 13:17:15 +02:00
test_pulse refactor: move the RX pulse decoder into PulseDecoder 2026-10-13 21:21:05 +02:00
test_radioreadiness Report a dead radio clearly, retry receive once and drop stale repeats 2026-11-14 18:50:41 -08:00
test_radioscheduler refactor: name radio jobs as GLOSSARY.md does 2026-10-13 15:13:03 +02:00
test_rollingcode fix: review fixes for the shades.cfg records 2026-10-29 17:25:07 +01:00
test_secrets fix: keep stored secrets when an older UI sends them empty 2026-10-18 20:07:31 +02:00
test_sensors fix: move only the tilt of a tilt-only shade for sun and wind 2026-10-13 21:14:20 +02:00
test_shadebehaviour docs: move open known issues to GitHub, drop the finished plans 2026-10-21 13:27:49 +02:00
test_shadechanges refactor: send shade and group changes once per loop() pass 2026-10-16 10:40:44 +02:00
test_shaderequests fix: command op replies that said ok when nothing was done 2026-10-24 13:46:00 +02:00
test_shadesettings refactor: hold shade settings in ShadeSettings and RemoteSettings 2026-10-16 20:31:39 +02:00
test_shadetx test: name the ticket tests as GLOSSARY.md does 2026-10-13 15:35:15 +02:00
test_taskwdt fix: only touch the task watchdog from tasks that are subscribed to it 2026-10-21 13:45:04 +02:00
test_txbuffer
test_txjob
test_utils build: add the ESP32-P4 (#29) 2026-10-29 19:41:39 +01:00