github ilyakruchinin/SomnoTrace v4.1.0-beta4

one hour ago

What's New in v4.1.0-beta4 🚀

☁️ Project S Cloud Uploader (Closed Beta)

  • New Project S upload destination (invite-only closed beta): Added a dedicated Project S Upload card under Settings (marked with an amber Closed Beta badge) with toggle control, setup key (ps1_…) entry, and Test connection verification.
  • Native CPAP & Live PPG sync: Automatically uploads completed CPAP (SNTv2) sessions alongside Live PPG (vitals.snt + .ppg.gz) recordings, tracked independently from regular oximetry uploads so your SleepHQ / SMB / Aerivue / BreathingRoom workflows stay unaffected.

⚡ Upload Performance & HTTP Reliability

  • Persistent keep-alive TLS connections: Reuses open TLS connections across multi-file and multi-session Project S uploads instead of re-handshaking and re-validating certificates on every single file — dramatically speeding up multi-night backfills, with automatic reconnect on idle timeouts and graceful low-memory fallback.
  • Faster streaming transfers: Upgraded raw PUT streaming and on-device MD5 hashing to 4 KB chunks aligned with the TLS record size.
  • Fixed HTTP keep-alive header parsing: Resolved an off-by-one bug in the shared HTTP response parser that skipped the final response header line (such as Content-Length: 0), preventing 6-second idle stalls on keep-alive connections across uploaders.

💍 Oximetry Stability & Stack Optimisations

  • Reduced stack pressure during BLE oximetry sync: Moved Gen1 legacy BLE transmit frame buffers from task stack into PSRAM and streamlined canonical oximetry path helpers to reduce stack usage.
  • Extra task stack headroom: Increased PSRAM stack sizes for Gen1 & Gen2 oximetry sync, pairing, and migration tasks for smoother, more reliable overnight syncs and background migrations.

Don't miss a new SomnoTrace release

NewReleases is sending notifications on new releases.