v0.5.5
Pre-releaseChanges since v0.5.4
Bug fixes
-
MaskEvents undercount in STR.edf —
MaskEventswas set to the number of
on/off pairs instead of the total number of on+off events. OSCAR divides
MaskEventsby 2 to get the pair count, so the reported session count was
half of what it should have been.
(main/edf_gen.c) -
Repeating -120 L/min flow spikes in OSCAR/SleepHQ — BLE notification
drops (typically every ~10 minutes) triggered insertion ofSNT_MISSING
(INT16_MIN) sentinels into BRP flow/pressure data. During EDF conversion
these were clamped todig_min = -1000, which OSCAR scales bygain = 0.12
(L/s→L/min), producing visible-120 L/minspikes. Changed BRP gap
compensation to hold-previous-value (matching the existing SA2/PLD
strategy). Gaps are typically 200–400 ms (<10 % of a breath cycle), so the
held value is visually indistinguishable from real data. The AS11 native EDF
never has missing BRP data, and OSCAR has no sentinel convention for
breathing waveforms.
(main/session_writer.c, main/edf_gen.c)