feat: add device UUID pairing — unique identity per ESP-phone pair
- Firmware: auto-generate 16-byte UUID on first boot (NVS), new READ characteristic - BLE name: AtomS3R-Relay → SylDa_Server - KEY? now returns DEVICE_ID + HMAC_KEY, SET_ID command for UUID provisioning - App: UUID+HMAC loaded from prefs, scan by service UUID, verify UUID after connect - UUID mismatch → disconnect + skip address + rescan - Key conflict dialog: keep ESP keys, overwrite ESP (with checkbox confirm), or cancel - NO_KEY with existing app keys: send existing pair instead of generating new - Added design spec doc
This commit is contained in:
parent
73b3c0eaa0
commit
348c55d830
9 changed files with 527 additions and 106 deletions
Binary file not shown.
Loading…
Reference in a new issue