fix: critical issues from code review #20

Merged
eddy merged 1 commit from fix/code-review-critical-issues into main 2026-08-04 18:44:55 +02:00
Owner

Samenvatting

Fixes voor critical issues uit code review.

Critical fixes (4)

  1. README.md touch sensor — "actief HIGH" → "actief LOW", "geen pullup nodig" → "INPUT_PULLUP modus"
  2. README.md LED pin — G46 → G35 (WS2812 RGB)
  3. release.sh — kopieert nu server/ en client/ firmware (8 bestanden i.p.v. 4)
  4. Stale firmware.bin — verwijderd uit root assets

Important fixes (3)

  1. OtaManager.kt — 10s wachttijd na START → 500ms
  2. BleRelayManager.ktbluetoothGatt?.close() voor nieuwe connect
  3. CompletableDeferred — custom class vervangen door kotlinx.coroutines.CompletableDeferred

Tests

  • Firmware build: beide environments succesvol
  • Versieconsistentie: alle 3 bestanden in sync (server=20, client=5)
## Samenvatting Fixes voor critical issues uit code review. ### Critical fixes (4) 1. **README.md touch sensor** — "actief HIGH" → "actief LOW", "geen pullup nodig" → "`INPUT_PULLUP` modus" 2. **README.md LED pin** — G46 → G35 (WS2812 RGB) 3. **release.sh** — kopieert nu `server/` en `client/` firmware (8 bestanden i.p.v. 4) 4. **Stale firmware.bin** — verwijderd uit root assets ### Important fixes (3) 5. **OtaManager.kt** — 10s wachttijd na START → 500ms 6. **BleRelayManager.kt** — `bluetoothGatt?.close()` voor nieuwe connect 7. **CompletableDeferred** — custom class vervangen door `kotlinx.coroutines.CompletableDeferred` ### Tests - ✅ Firmware build: beide environments succesvol - ✅ Versieconsistentie: alle 3 bestanden in sync (server=20, client=5)
fix: critical issues from code review
All checks were successful
CI / build (pull_request) Successful in 1m20s
64ade7ff10
- Fix README touch sensor docs (active LOW, INPUT_PULLUP)
- Fix README LED pin (G46 -> G35 WS2812)
- Fix release.sh to copy server/ and client/ firmware
- Remove stale firmware.bin from root assets
- Reduce OTA START wait from 10s to 500ms
- Close bluetoothGatt before new connection
- Use kotlinx.coroutines.CompletableDeferred
eddy merged commit 7829528e89 into main 2026-08-04 18:44:55 +02:00
Sign in to join this conversation.
No description provided.