mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Resolve remaining F0V6 event 3 debug messages in sample data.
This commit is contained in:
parent
cc80a3ef09
commit
675f6d4361
@ -3464,11 +3464,15 @@ bool PRS1DataChunk::ParseEventsF0V6(CPAPMode /*mode*/)
|
|||||||
this->AddEvent(new PRS1IPAPEvent(t, data[pos+1]));
|
this->AddEvent(new PRS1IPAPEvent(t, data[pos+1]));
|
||||||
this->AddEvent(new PRS1EPAPEvent(t, data[pos])); // EPAP needs to be added second to calculate PS
|
this->AddEvent(new PRS1EPAPEvent(t, data[pos])); // EPAP needs to be added second to calculate PS
|
||||||
break;
|
break;
|
||||||
case 0x03: // Pressure adjustment? (auto-CPAP)
|
case 0x03: // Auto-CPAP starting pressure
|
||||||
// This seems to correspond to the minimum auto-CPAP pressure setting, and
|
// Most of the time this occurs, it's at the start and end of a session with
|
||||||
// seems to stay fixed throughout the session.
|
// the same pressure at both. Occasionally an additional event shows up in the
|
||||||
//this->AddEvent(new PRS1CPAPEvent(t, data[pos]));
|
// middle of a session, and then the pressure at the end matches that.
|
||||||
CHECK_VALUE(data[pos++], 4);
|
// In these cases, the new pressure corresponds to the next night's starting
|
||||||
|
// pressure for auto-CPAP. It does not appear to have any effect on the current
|
||||||
|
// night's pressure, unless there's a substantial gap between sessions, in
|
||||||
|
// which case the next session may use the new starting pressure.
|
||||||
|
//CHECK_VALUE(data[pos], 40);
|
||||||
break;
|
break;
|
||||||
case 0x04: // Pressure Pulse
|
case 0x04: // Pressure Pulse
|
||||||
duration = data[pos++]; // TODO: is this a duration?
|
duration = data[pos++]; // TODO: is this a duration?
|
||||||
|
Loading…
Reference in New Issue
Block a user