SomnoTrace v4.0.0-rc3
๐๏ธ Sessions now split exactly like your ResMed does
- Toilet-break splits are finally honoured. Take your mask off mid-session without stopping therapy (auto-stop off, no button press) and exported waveforms (
BRP/PLD/SA2) are now written as one EDF file set per mask-on window โ matching the AirSense/AirCurve SD card layout file-for-file. Event (EVE) and settings (CSL) files still attach to the session start, just like the originals. - Goodbye, phantom leak spikes. Dashboard charts now show a clean gap during mask-off breaks instead of the ~120 L/min open-air leak, and mean/p95 leak statistics exclude those samples โ your numbers finally line up with what OSCAR reports from the ResMed card.
- Fixed silent truncation of the final therapy window. A race where
Standbyarrived milliseconds before the last gating signal could cut off the tail of a session โ up to ~96 minutes observed in the wild. The last window now correctly runs to the end of the recording. - Zero-regression by design: single-window sessions and imported pre-gated sessions produce identical output to before, and the live BLE recording path is untouched.
โ๏ธ AirCurve bilevel settings โ every profile, every value
- TiMin, TiMax, Trigger and Cycle now export for VAuto users too (#354). The rc2-era fix covered S-mode (
Spont) only; the same string-valued settings ("PT2S","PT0.3S","Medium","High") are now converted forVAuto,STandTimedprofiles, soSTR.edfno longer reports "no data" for them. - Rise Time Enable
"Min"is now preserved โ previously written as "no data" even though ResMed's ownSTR.edfrecords it. - Numeric settings keep working unchanged; malformed or out-of-range values are still rejected rather than guessed.
- Existing days pick up the corrected settings on
STR.edfregeneration โ the raw BLE snapshots already contain the values.
๐งช Under the hood
- 63 EDF generator tests, 859 import checks, 1,273 round-trip checks โ all green; 37/37 host tests pass.
- Firmware image:
somnotrace-v4.0.0-rc3-full.bin(19% app partition free).