Commit Graph

370 Commits

Author SHA1 Message Date
Mark Watkins
4ed77fc64a Clean up a few unused variables and nullptr risks with clang static analyzer. Fix a bug in Journal day selection 2018-03-28 16:22:42 +10:00
Mark Watkins
1ff24834e0 DV6 fix SL folder sometimes present, and decode VER.BIN for model number 2018-03-26 21:51:43 +10:00
Mark Watkins
7a5d43ae8c Add DV6 Pressure, and try to figure out next 2 bytes by mapping to Leak chart 2018-03-26 15:08:44 +10:00
Mark Watkins
10cb40d09a Track DV6 event states in R.BIN 2018-03-26 14:11:42 +10:00
Mark Watkins
aa8f18ca36 Initial Intellipap DV64 support.. warning, crashes 2018-03-26 05:23:05 +10:00
Mark Watkins
826bafb871 Dreamstation 900 series ASV F5V3 DV3 support 2018-03-24 05:24:29 +10:00
Mark Watkins
891ccd2fd8 Merge branch 'h-uchiy/sleepyhead-code-h-uchiy' 2018-03-20 15:02:47 +10:00
Phil Olynyk
cddea04837 Set m_starttime to current day if no date in file (CMS50D+) 2018-03-20 14:09:41 +10:00
Phil Olynyk
ca6b5ef649 Fix to import md300w1 dat files 2018-03-20 14:07:45 +10:00
Hiroyoshi Uchiyama
e3fe01e134 fixed segfault bug while importing SDcard data of Philips Respironics System One (60 Series) Model 560PBT 2017-11-25 18:33:46 +09:00
Phil Olynyk
c3fc4bb267 Use LAST . to find file extension 2017-11-12 11:40:02 -05:00
Phil Olynyk
552d1aef95 add debug code from other repo - DON'T USE that one! 2017-09-21 10:48:15 -04:00
Phil Olynyk
7c367b5f01 add debug code to direct import routines (data duplication?) 2017-09-21 10:45:48 -04:00
Phil Olynyk
96d5516cef Set m_starttime to current day if no date in file (CMS50D+) 2017-09-21 10:41:35 -04:00
Phil Olynyk
215fc41f9a Fix to import md300w1 dat files 2017-07-31 16:58:36 -04:00
Mark Watkins
3416e30936 Fix some build warnings, project file commented out crud, and Breathing Not Detected untranslatable string 2016-04-26 16:11:39 +10:00
Mark Watkins
4a814e23a7 Fix some array deletion stuff 2016-04-17 00:37:17 +10:00
Mark Watkins
1be257bca2 More PRS1 960T Event Parsing fixes 2016-04-16 10:02:10 +10:00
Mark Watkins
89f87b2d90 Merge branch 'master' of gitlab.com:sleepyhead/sleepyhead-code 2016-04-16 02:12:17 +10:00
Mark Watkins
06a39eb7df Support for PRS1 960t Family 5.2 Event File 2016-04-16 02:11:45 +10:00
Mark Watkins
40753bc7a7 Fix Heated Tubing spelling mistake 2016-04-11 13:11:15 +10:00
Mark Watkins
2e2b7d269c Issue #0005 EPR on/off glitch 2016-04-04 01:00:36 +10:00
Mark Watkins
b6e4dfdad0 Convert Tooltip Timeout slider to seconds, extend limits 2016-03-17 13:38:50 +10:00
Mark Watkins
75e3f6eed7 Clean up some more channels.xml stuff 2016-03-17 09:28:18 +10:00
Mark Watkins
521b3ae696 Inital PRS1 Family 5.2 importer work 2016-03-11 10:00:01 +10:00
Mark Watkins
2285444dce Bump ResMed & PRS1 loader versions to initiate auto-rebuild 2016-03-09 00:45:02 +10:00
Mark Watkins
c2391056a6 Fix TempEnable glitch, update changelog, bump build number 2016-03-09 00:39:56 +10:00
Mark Watkins
09e07997ef Add in ResMed AirSense/Curve Machine Settings (Reimport to get them) 2016-03-08 23:55:29 +10:00
Mark Watkins
a39e9345d5 Fix PRS1 Breathing not Detected flagging by mistake at start of waveform blocks 2016-03-08 17:22:46 +10:00
Mark Watkins
c1082d8b5f A little more tinkering on TAP chart, fake yAxis labels for now 2016-03-07 23:54:14 +10:00
Mark Watkins
6a9afa4723 Flag PRS1 No Breathing Detected areas between individual sessions waveform chunks 2016-03-06 13:15:54 +10:00
Mark Watkins
b969323ab2 Clean up versioning, and make Release Notes welcome message translatable 2016-03-06 12:50:22 +10:00
Mark Watkins
2fa1f46f53 Unintentional leaks calculation improvements 2016-03-05 07:27:33 +10:00
Mark Watkins
1a77446155 ResMed IPAP chart data not being imported correctly 2016-03-04 13:34:05 +10:00
Mark Watkins
a546a724fb AirCurve ASV Pacewave fixes 2016-03-04 10:17:19 +10:00
Mark Watkins
21f342218f Automatically migrate old -Testing QSettings 2016-03-04 09:26:20 +10:00
Mark Watkins
09f47ef2f1 Disable Flex EPAP trace, seeing it doesn't want to plot. Will revisit later 2016-03-04 00:23:18 +10:00
Mark Watkins
4e90213536 Wasn't showing AirCurve icon properly 2016-03-03 18:32:43 +10:00
Mark Watkins
db1559a545 Fix AirSense EPR on/off status 2016-03-03 18:28:45 +10:00
Mark Watkins
052e389b85 Alternative Unintentional Leak Calculation with Preferences 2016-03-03 14:48:21 +10:00
Mark Watkins
43ee4a1105 Fix PRS1 950/960 pressure settings mess up 2016-03-03 07:32:22 +10:00
Mark Watkins
b3d62af6c2 Just some added comments (jumping between computers) 2016-03-02 17:07:38 +10:00
Mark Watkins
29581ebc88 AirCurve series detection (icon fix) and some cleanups 2016-03-02 12:09:32 +10:00
Mark Watkins
f69eda1101 Update source file header messages 2016-03-01 21:59:04 +10:00
Mark Watkins
a0f512d22e PeekProperties not peeking at prop.txt files (causing wrong icon during loading) 2016-03-01 21:51:14 +10:00
Mark Watkins
bb0ff10161 PRS1 Family 4 Leak/PB flag span fixes 2016-02-29 20:21:57 +10:00
Mark Watkins
57ac57b110 PRS1/DS Large Leak flags should be twice as long 2016-02-29 11:43:29 +10:00
Mark Watkins
63145d0783 Looks like 1060P AVAPS has Unintentional Leaks too 2016-02-29 02:37:07 +10:00
Mark Watkins
f14b5e77eb AVAPS Pressure and Mode settings 2016-02-29 01:44:59 +10:00
Mark Watkins
433035252f Initial PRS1 1060P AVAPS Support :) 2016-02-29 01:11:53 +10:00
Mark Watkins
f859a3ee7e Fix overview charts blanking from scrolling past beginning 2016-02-28 23:58:28 +10:00
Mark Watkins
2fd9137706 Add AirSense10 Image 2016-02-28 13:36:58 +10:00
Mark Watkins
69faf5cf97 Philips PB/CSR flag length on older machines don't look like they double 2016-02-28 11:59:41 +10:00
Mark Watkins
74be17d5d3 Fix Philips PB/CSR sync 2016-02-28 11:51:31 +10:00
Mark Watkins
3bc9ce4b07 Add code to parse family 3 event file header so it chunks properly 2016-02-28 11:27:43 +10:00
Mark Watkins
4dd142ed60 Getting things ready for DreamStation image 2016-02-28 10:16:49 +10:00
Mark Watkins
c0006879ce DreamStation PRS1 second hypopnea code 0x15 Not being Parsed (bug-284) 2016-02-28 08:03:11 +10:00
Mark Watkins
529686d691 Interpret DreamStation Auto Trial mode as APAP 2016-02-27 21:48:36 +10:00
Mark Watkins
4914084449 PR Pressure Pulse not lining up right 2016-02-27 16:25:00 +10:00
Mark Watkins
0a0743ee23 DreamStation sync fixes, update release notes a little bit (no, that's not a signal) 2016-02-27 15:39:01 +10:00
Mark Watkins
c9b774a47a Dreamstation 0x14 flag is missing hypopnea, change CSR to PB on P.R. machines 2016-02-27 13:37:56 +10:00
Mark Watkins
db594af8e6 Show revision in mainwindow titlebar, remove accidental conditional PRS1 F3 check 2016-01-24 07:18:32 +10:00
Mark Watkins
c322e1f21c F0 Event Parser fixes for DreamStation 2016-01-22 21:58:09 +10:00
Mark Watkins
1fff6f38cf DreamStation BiPAP Pro assumption that probably won't work 2016-01-22 10:35:35 +10:00
Mark Watkins
d1ba395f17 DreamStation model number/series detection 2016-01-22 10:07:10 +10:00
Mark Watkins
32b677e5d7 DreamStation's have two extra bytes before the final block checksum 2016-01-22 09:30:53 +10:00
Mark Watkins
ba9002354a Auto Bilevel tests, disable second h2 parsing 2016-01-21 17:24:39 +10:00
Bob Kenny
3d871c223c minor changes after merge 2016-01-21 02:00:08 -05:00
Mark Watkins
254490f050 Merge JediBob's Summary code 2016-01-21 15:19:42 +10:00
Bob Kenny
fa0a84ef12 Finished first Dreamstation parsing .001 attempt 2016-01-20 19:55:15 -05:00
Mark Watkins
140b4d6bd0 DreamStation waveform and event parsing.. still needs .001 summary parsing completed 2016-01-20 22:32:26 +10:00
Bob Kenny
578411d875 Beginning parsing of Dreamstation headers 2016-01-20 01:15:15 -05:00
Mark Watkins
50d4ee8697 Prep work: Making PRS1 ParseFile to parse DreamStation .001 headers 2016-01-19 14:26:28 +10:00
Mark Watkins
1e20707edf Merge commit '1484a5e9334b9ef5ac6eca69a78ca926ddbd88c8' 2016-01-05 16:00:30 +10:00
Mark Watkins
b4ddf457d6 Preliminary stuff for getting ready for DreamStation work 2016-01-05 15:59:07 +10:00
Bob Kenny
1a7473d328 Corrected try/catch to be references 2016-01-04 01:32:37 -05:00
Mark Watkins
cd7806be59 A couple of import hang fixes, (FPIcon wrong path selected, and double import) 2015-12-22 07:33:33 +10:00
Mark Watkins
20f8ceed71 Some AirCurve fixes 2015-09-21 11:30:23 +10:00
Mark Watkins
204d77e7b0 Constrain ResMed EDF Flow waveform data to within physical min/max values 2015-09-21 10:02:15 +10:00
reznet
59a0823d20 Update all calls to fromMSecsSinceEpoch to specify UTC
QT 5 changed the behavior of QDateTime::fromMSecsSinceEpoch to return the result in local time zone, whereas in QT 4, it returned UTC.  On systems that do not support time zones, the QT 5 version still returns UTC.  But for all other systems, the api change causes confusion in the SH UI because some date and time values are displayed in UTC instead of the local time zone.  This manifests itself when the user is in USA which has a negative UTC offset.  When selecting a date range to display in the overview screen, the displayed dates appear to be one day behind the selected date range.

For consistently, SH should always use UTC internally and only convert to the local time zone when displaying data to the user.  This will ensure that the time zone information is preserved correctly when the UTC offset of the user's machine changes due to DST changes or traveling.

There are a few calls to fromMSecsSinceEpoch which should be using local time, and those will be updated in future commits.
2015-08-11 15:01:24 -05:00
Mark Watkins
29f869737f Portuguese ResMed Leaks 2015-08-02 16:05:56 +10:00
Mark Watkins
0f2f8f85ba Fix French ResMed leak string, solve Q_FOREACH problem with Qt 5.4.2 2015-08-02 15:53:09 +10:00
Mark Watkins
fbea37dcb5 Stop ResMed importer crashing on zero record STR.edf files 2015-07-31 08:36:52 +10:00
Mark Watkins
7782b83d90 Clean some more warnings up 2014-10-09 02:51:09 +10:00
Mark Watkins
64a1781779 Typo in the last commit 2014-10-09 02:08:46 +10:00
Mark Watkins
1094159657 Rename mainwindow qsplitters, suppress some warnings 2014-10-03 12:31:51 +10:00
Mark Watkins
ffeb0149c0 Windows build fixes, bump build number 2014-10-02 17:56:57 +10:00
Mark Watkins
62b4b421f6 Put CSV Export back, step overview barchar segment brightness a bit more 2014-10-02 13:39:37 +10:00
Mark Watkins
70b54982d8 Only CPAP & APAP ResMed machine modes have EPR 2014-10-01 02:24:55 +10:00
Mark Watkins
a8b5d847f9 Fix for PRS1 model numbers that don't end in P 2014-10-01 02:13:05 +10:00
Mark Watkins
8bde451b89 Misnamed Remstar Pro models. 2014-10-01 01:52:02 +10:00
Mark Watkins
740e4cb2ba Fix Machine::m_availableChannels glitch breaking oximetry statistics 2014-09-30 21:02:35 +10:00
Mark Watkins
de695e153d PRS1 Oximetery attachment fixes 2014-09-30 15:25:11 +10:00
Mark Watkins
429fcb64a1 Some machine pixmap stuff, use gzip compatible Summaries.xml, preliminary PRS1 .006 oximetery parser 2014-09-30 00:41:40 +10:00
Mark Watkins
b3f49f1edb Changed QPrinter headers, CMS50H fix, minor overview graph optimisations 2014-09-24 11:42:14 +10:00
Mark Watkins
f2facb9da9 Add AirSense 10 CSR flags. Fixed summary load order messing up day splitting. 2014-09-22 14:32:15 +10:00
Mark Watkins
55390d9831 Get CMS50IW model string properly 2014-09-19 13:19:11 +10:00
Mark Watkins
c250ec40aa Scan for rfcomm device for cms50iw take 2 2014-09-19 13:03:34 +10:00
Mark Watkins
d6ee4eada7 Scan for rfcomm device for cms50iw 2014-09-19 12:52:20 +10:00
Mark Watkins
15de13f107 Dump some serialport scanning information to help get the CMS50xW ports detected 2014-09-19 12:07:28 +10:00