Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account

New Posts   Today's Posts

Reading SleepyHead Binary Files
Rolleyes looks like 7:00 in the morning was way too early for me^^

forgot the types on this 2 in the header:
PHP Code:
header << datasize// int32 - the size of the actual data AFTER the header in bytes.
header << chk// uint16 - checksum - should 0 - if it is not it is the checksum for the compression 

hope I did not forget something else .. or worse: made some mistakes^^

one more thing to make the c++-part more clear:
PHP Code:

something like that is a typecast ... meaning it gets converted to the type in the brackets.
all QT-types are prefixed with a 'q' (basically they are the same as without the q ... it's just for making the code portable across different operating systems and compilers)
so quint16 = unsigned integer 16 bits
qint32 = (signed) integer 32 bits
Post Reply Post Reply

Donate to Apnea Board  

Possibly Related Threads...
Thread Author Replies Views Last Post
  how to edit SPO2 files? JohnJ789 7 364 06-21-2018, 02:50 PM
Last Post: ShaunBlake
  Why did SH show files in Session Information? ShaunBlake 11 366 06-17-2018, 06:18 PM
Last Post: ShaunBlake
  Sleepyhead is not reading my cpap machine correctly yankees123 12 644 03-13-2018, 04:25 PM
Last Post: ShaunBlake
  SleepyHead accuracy in reading ResMed card on Mac okiejack 1 458 01-12-2018, 03:35 PM
Last Post: jaswilliams
  Encore Pro error reading SD card StuGoldberg 6 525 11-29-2017, 04:11 PM
Last Post: StuGoldberg
  Reading chip with EncorePro 2.2 RLSdss 2 465 10-19-2017, 08:15 PM
Last Post: BAZZA
  Sleepy Head - .dat files gb60mail 6 732 08-25-2017, 08:05 AM
Last Post: pholynyk

Forum Jump:

New Posts   Today's Posts

About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.