v0.6.2
Pre-release
Pre-release
Changes since v0.6.1
STR.edf bi-level mode superset expansion + bug fixes
Commit: f5dce49 — Expanded STR.edf signal count from 78 to 134 signals
File changed: main/edf_gen.c (+354 / −113)
Bug fixes
- Fixed missing settings summary for users with 30+ days of history. The STR.edf generator had a hard 30-record cap (
calloc(30, ...)+n_records < 30guard) that prevented the current day's synthesized STR record from being added when 30 historical spool files already existed. Since the AS11 doesn't finalize the current day's spool until noon rollover, the current day was never found in the parsed spools, and the synthesis branch was blocked by then_records < 30guard being false. OSCAR would then fall back to copying stale settings and flagnoSettings, hiding the settings summary for that day. Fixed by allocating 31 record slots and changing the guard ton_records < 31. This works for any number of spool files on disk (60, 180, 600+) because the spool trim always reduces parsed records to ≤30 — the extra slot is solely for the synthesized current-day record. - Fixed
AutoSetForHerProfileMOP mapping from index 11 → 2 (APAP/Her), which previously caused settings to not appear at all in OSCAR for AutoSet For Her users.
New features
- Added bi-level therapy mode signals (VAuto, Spont, ST, Timed, ASV, ASVAuto) to build_str_data_values(), including start pressure, EPAP, IPAP, PS, PSMin/Max, TiMin/Max, backup rate, trigger/cycle sensitivity, EasyBreathe, and ERatio settings
- Added new summary stat signals: SpontTriggerPercentage, SpontCyclePercentage, TargetMinuteVentilation, IeRatio, InspiratoryDuration (Ti)
- Added
iVAPSProfile(9) andPACProfile(10) to profile_name_to_mop() - Added enum conversion helpers for trigger/cycle sensitivity, EasyBreathe mode, and RespiratoryRateEnable
Internal changes
- Shifted all existing signal indices (CPAP/AutoSet, comfort/settings, spool-derived stats) to accommodate the new bi-level signals inserted at indices [14–58]
- Updated
rec_bufsize from 115 to 171 int16s (133 data signals + Crc16, accounting for 2 signals with 20 samples-per-record) - Updated all hardcoded
115references in the record writing/CRC code to match the new buffer size