ESPSomfy-RTS/src
R. Sid Shaytay 28af01195a
Move the board profile tests into the native Unity suite
The board tests ran through tools/test-board-profile.sh with their own stubs, assert() and a script that copied nine method bodies out of Transceiver.cpp, so they were outside pio test -e native and the coverage report.

Pure decisions now live in units the native env builds: BoardProfile::usesPin is constexpr, RadioReadiness decides register validity, the receive-state outcome (ready, retry or unavailable, with one try today) and whether a queued job may transmit, and ShadeGpioGuard decides whether a shade's outputs touch a board pad. Transceiver and ShadeGpio call them with identical behaviour. New Unity suites cover the generic and LILYGO profiles (reserved pads, startup order, radio bring-up) and the readiness unit; the old harness, its script, CI step and stubs are deleted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 18:47:04 -08:00
..
entryPoints fix: review fixes for the OTA slot 2026-10-28 22:19:27 +01:00
outputs Merge origin/main into test/config-records 2026-10-29 18:02:56 +01:00
ApiToken.h fix: review findings on the token key 2026-10-27 20:39:08 +01:00
BoardProfile.cpp Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
BoardProfile.h Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
BootPins.h fix: warn of radio pins that block flashing over USB 2026-10-29 22:54:11 +01:00
ConfigFile.cpp refactor: centralize shade GPIO initialization and board guards 2026-11-14 18:33:33 -08:00
ConfigFile.h fix: review fixes for the shades.cfg records 2026-10-29 17:25:07 +01:00
ConfigHeader.h fix: stop the 5 s boot wait, tell the client about a bad restore 2026-10-19 18:08:16 +02:00
ConfigRecords.cpp fix: review fixes for the shades.cfg records 2026-10-29 17:25:07 +01:00
ConfigRecords.h fix: review fixes for the boot pin warnings 2026-10-29 22:44:23 +01:00
ConfigSettings.cpp fix: review fixes for the ESP32-P4 build 2026-10-29 20:10:36 +01:00
ConfigSettings.h chore: bump version to v4.0.2 2026-11-01 12:04:18 +00:00
DeviceOps.cpp Show the fixed radio pins as read-only in the web UI 2026-11-14 18:41:27 -08:00
DeviceOps.h fix: settings ops review findings 2026-10-25 10:27:53 +01:00
ESPNetwork.cpp chore: name cjkas as the manufacturer in MQTT discovery and SSDP 2026-10-31 13:27:45 +01:00
ESPNetwork.h fix: review fixes for step 4a 2026-10-27 22:11:54 +01:00
EthPhy.h fix: review fixes for the ESP32-P4 build 2026-10-29 20:10:36 +01:00
HttpAccess.h fix: close the token bypass below a route, review fixes for 4b 2026-10-28 19:39:51 +01:00
ItemSnapshot.cpp feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
ItemSnapshot.h feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
JsonFormatter.cpp feat: socket protocol 2 core on ws://host/ws 2026-10-24 11:03:07 +02:00
JsonFormatter.h feat: socket protocol 2 core on ws://host/ws 2026-10-24 11:03:07 +02:00
LoginThrottle.h fix: review findings on the login throttle 2026-10-27 18:44:39 +01:00
LogLock.cpp build: move to pioarduino 55.03.312 (Arduino 3.3.12, ESP-IDF 5.5) 2026-10-19 22:05:22 +02:00
LogLockPolicy.h fix: don't wait on a log lock holder that can't run 2026-10-12 18:35:42 +02:00
LoopQueue.cpp feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
LoopQueue.h feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
ModelEditor.cpp fix: deletes send their removal after the reply; test_reboot waits for the restart 2026-10-25 13:07:17 +01:00
ModelEditor.h feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
MqttConnection.cpp fix: only touch the task watchdog from tasks that are subscribed to it 2026-10-21 13:45:04 +02:00
MqttConnection.h refactor: split the transports into the modules GLOSSARY.md names 2026-10-16 13:47:56 +02:00
MqttDisco.cpp chore: name cjkas as the manufacturer in MQTT discovery and SSDP 2026-10-31 13:27:45 +01:00
MqttDisco.h test: Home Assistant discovery config on the PC 2026-10-29 16:59:53 +01:00
MqttTopics.h fix: review fixes for the shades.cfg records 2026-10-29 17:25:07 +01:00
ProtoAssembly.cpp fix: edit ops review findings 2026-10-24 18:10:06 +02:00
ProtoAssembly.h fix: edit ops review findings 2026-10-24 18:10:06 +02:00
ProtoEdits.cpp feat: settings ops, the WiFi and frequency scans, and reboot for socket protocol 2 2026-10-25 09:52:09 +01:00
ProtoEdits.h fix: edit ops second review findings 2026-10-24 18:29:34 +02:00
ProtoFrame.cpp fix: protocol 2 core review findings 2026-10-24 13:17:15 +02:00
ProtoFrame.h fix: edit ops review findings 2026-10-24 18:10:06 +02:00
ProtoOps.cpp fix: edit ops second review findings 2026-10-24 18:29:34 +02:00
ProtoOps.h fix: edit ops second review findings 2026-10-24 18:29:34 +02:00
ProtoParse.cpp feat: settings ops, the WiFi and frequency scans, and reboot for socket protocol 2 2026-10-25 09:52:09 +01:00
ProtoParse.h feat: settings ops, the WiFi and frequency scans, and reboot for socket protocol 2 2026-10-25 09:52:09 +01:00
ProtoSchema.cpp fix: edit ops review findings 2026-10-24 18:10:06 +02:00
ProtoSchema.h Show the fixed radio pins as read-only in the web UI 2026-11-14 18:41:27 -08:00
ProtoSettings.cpp Show the fixed radio pins as read-only in the web UI 2026-11-14 18:41:27 -08:00
ProtoSettings.h Show the fixed radio pins as read-only in the web UI 2026-11-14 18:41:27 -08:00
ProtoSlots.cpp fix: protocol 2 core review findings 2026-10-24 13:17:15 +02:00
ProtoSlots.h fix: protocol 2 core review findings 2026-10-24 13:17:15 +02:00
ProtoSync.cpp fix: protocol 2 core review findings 2026-10-24 13:17:15 +02:00
ProtoSync.h feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
PulseDecoder.cpp refactor: move the RX pulse decoder into PulseDecoder 2026-10-13 21:21:05 +02:00
PulseDecoder.h refactor: move the RX pulse decoder into PulseDecoder 2026-10-13 21:21:05 +02:00
RadioReadiness.cpp Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
RadioReadiness.h Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
RadioScheduler.cpp refactor: name radio jobs as GLOSSARY.md does 2026-10-13 15:13:03 +02:00
RadioScheduler.h refactor: name radio jobs as GLOSSARY.md does 2026-10-13 15:13:03 +02:00
RollingCode.h fix: review fixes for the shades.cfg records 2026-10-29 17:25:07 +01:00
Secrets.h fix: keep stored secrets when an older UI sends them empty 2026-10-18 20:07:31 +02:00
ShadeBehaviour.cpp cleanup: drop the step cases onWaitingFrame never reaches 2026-10-17 23:25:16 +02:00
ShadeBehaviour.h fix: keep a tilt-only shade's lift at 100 whatever sends the command 2026-10-16 22:47:53 +02:00
ShadeChanges.cpp refactor: send shade and group changes once per loop() pass 2026-10-16 10:40:44 +02:00
ShadeChanges.h feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
ShadeController.cpp feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
ShadeGpio.cpp Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
ShadeGpioGuard.h Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
ShadeMotion.cpp fix: default a set-favorite request's tilt to the favorite tilt 2026-10-14 15:57:49 +02:00
ShadeMotion.h fix: default a set-favorite request's tilt to the favorite tilt 2026-10-14 15:57:49 +02:00
ShadeRequests.cpp fix: command op replies that said ok when nothing was done 2026-10-24 13:46:00 +02:00
ShadeRequests.h fix: command op replies that said ok when nothing was done 2026-10-24 13:46:00 +02:00
ShadeSensors.cpp fix: move only the tilt of a tilt-only shade for sun and wind 2026-10-13 21:14:20 +02:00
ShadeSensors.h fix: move only the tilt of a tilt-only shade for sun and wind 2026-10-13 21:14:20 +02:00
ShadeSettings.h refactor: hold shade settings in ShadeSettings and RemoteSettings 2026-10-16 20:31:39 +02:00
ShadeTypes.h refactor: move the shade's behaviour into ShadeBehaviour 2026-10-16 21:21:38 +02:00
Somfy.h refactor: centralize shade GPIO initialization and board guards 2026-11-14 18:33:33 -08:00
SomfyController.cpp feat: support headless LILYGO T-Embed CC1101 Plus 2026-11-14 18:33:33 -08:00
SomfyEditor.h feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
SomfyFrame.cpp refactor: move the shade's behaviour into ShadeBehaviour 2026-10-16 21:21:38 +02:00
SomfyFrame.h refactor: move the shade's behaviour into ShadeBehaviour 2026-10-16 21:21:38 +02:00
SomfyGroup.cpp refactor: hold shade settings in ShadeSettings and RemoteSettings 2026-10-16 20:31:39 +02:00
SomfyJson.cpp refactor: centralize shade GPIO initialization and board guards 2026-11-14 18:33:33 -08:00
SomfyRemote.cpp refactor: move the shade's behaviour into ShadeBehaviour 2026-10-16 21:21:38 +02:00
SomfyShade.cpp refactor: move the shade's behaviour into ShadeBehaviour 2026-10-16 21:21:38 +02:00
SomfyShadeOps.cpp fix: command op replies that said ok when nothing was done 2026-10-24 13:46:00 +02:00
SomfyShadeOps.h refactor: carry out shade requests from one module behind a LoopQueue 2026-10-16 09:42:58 +02:00
SomfySnapshot.cpp feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
SomfySnapshot.h feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
SSDP.cpp feat: keep Ethernet settings independent of the framework 2026-10-19 21:13:49 +02:00
SSDP.h init 2026-03-10 20:23:48 +01:00
TaskWdt.h fix: only touch the task watchdog from tasks that are subscribed to it 2026-10-21 13:45:04 +02:00
Timing.h refactor: time steps with ElapsedTimer::lap() 2026-10-13 15:39:14 +02:00
Transceiver.cpp Move the board profile tests into the native Unity suite 2026-11-14 18:47:04 -08:00
Transceiver.h feat: support headless LILYGO T-Embed CC1101 Plus 2026-11-14 18:33:33 -08:00
TxBuffer.cpp test: cover the radio queue rules, shade TX state, rolling codes and web command hold 2026-10-12 20:26:33 +02:00
TxBuffer.h refactor: name radio jobs as GLOSSARY.md does 2026-10-13 15:13:03 +02:00
Utils.cpp feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
Utils.h build: add the ESP32-P4 (#29) 2026-10-29 19:41:39 +01:00
WResp.cpp feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00
WResp.h feat!: remove the old API, ports 8081 and 8080 (step 4a) 2026-10-27 21:49:38 +01:00