fix: critical issues from code review
All checks were successful
CI / build (pull_request) Successful in 1m20s

- 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
This commit is contained in:
eddy 2026-08-04 18:27:38 +02:00
commit 64ade7ff10
6 changed files with 22 additions and 24 deletions

View file

@ -12,10 +12,10 @@ De BLE-verbinding is beveiligd met **HMAC-SHA256 authenticatie** (application-le
|---|---|
| Relais 1 | Op **G1** |
| Relais 2 | Op **G2** |
| Touch sensor 1 | HS-S43A Digital Capacitive Switch Module op **G8** (actief HIGH) |
| Touch sensor 2 | HS-S43A Digital Capacitive Switch Module op **G6** (actief HIGH) |
| Touch sensor 1 | HS-S43A Digital Capacitive Switch Module op **G8** (actief LOW) |
| Touch sensor 2 | HS-S43A Digital Capacitive Switch Module op **G6** (actief LOW) |
| Knop | Op **G41** (active low) |
| Status LED | Op **G46** (rood = geen verbinding, geel = verbinding <60s, uit = stabiel) |
| Status LED | Op **G35** (WS2812 RGB, rood = geen verbinding, geel = verbinding <60s, uit = stabiel) |
### Pinout
@ -25,7 +25,7 @@ G2 = RELAY2
G6 = TOUCH2 (INPUT)
G8 = TOUCH1 (INPUT)
G41 = BUTTON (INPUT, active low)
G46 = LED (OUTPUT)
G35 = LED (WS2812 RGB, OUTPUT)
```
### Aansluiting
@ -39,7 +39,7 @@ Relais + → G1 / G2
Relais - → GND
```
> **HS-S43A touch sensor:** Digitale output (actief HIGH). Geen pullup nodig — de sensor geeft actief 0V of 3.3V.
> **HS-S43A touch sensor:** Digitale output (actief LOW — pin naar GND bij aanraking). Gebruik `INPUT_PULLUP` modus. De sensor trekt de pin actief laag bij detectie.
## LED-signalering