Repository navigation
Local-first server discovery + explicit server mode.
- Auto-discovery now probes the local LAN server (
pulsync.localvia mDNS) before the hosted cloud (pulsync.in). Self-hosting is the common case; the extra local probe only adds a small delay for a cloud-only device on its first boot (it latches its server after that). - New
setServerMode(Pulsync.LOCAL | Pulsync.CLOUD | Pulsync.AUTO)— hard override to a tier (no discovery/fallback). setServer("host:port")still has the highest precedence for pinning an exact server.- Precedence:
setServer>setServerMode> captive-portal/NVS server > AUTO discovery.