Add support for new tubing type setting code on 700X110 v1.2.

This commit is contained in:
sawinglogz 2021-10-28 14:14:06 -04:00
parent a445781167
commit a838e343ce
2 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,7 @@
<br>Portions of OSCAR are © 2019-2022 by
<i>The OSCAR Team</i></p>
<ul>
<li>[new] Add support for new settings codes in recently manufactured 700X110 DreamStations.</li>
<li>[fix] Correct SleepStyle machines sometimes identified as Icon machines.</li>
<li>[fix] Update copyright notices in html files.</li>
<li>[fix] Correct value display on exact data points, and near session boundaries with drift.</li>

View File

@ -2061,6 +2061,11 @@ bool PRS1DataChunk::ParseSettingsF0V6(const unsigned char* data, int size)
}
this->AddEvent(new PRS1ScaledSettingEvent(PRS1_SETTING_HUMID_TARGET_TIME, data[pos], 0.1));
break;
case 0x46: // Tubing Type (alternate, seen instead of 0x3b on 700X110 v1.2 firmware)
CHECK_VALUE(len, 1);
CHECK_VALUE(data[pos], 2); // 15HT = 2 based on user report
this->ParseTubingTypeV3(data[pos]); // Since 15HT matches 0x3b above, assume the rest do (but warn)
break;
default:
UNEXPECTED_VALUE(code, "known setting");
qDebug() << "Unknown setting:" << hex << code << "in" << this->sessionid << "at" << pos;