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
#11
RE: 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:
Quote:
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:
(quint16)filetype_data

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


Possibly Related Threads...
Thread Author Replies Views Last Post
  Getting O2 Insight Pro files to OSCAR? SnoozeBest 18 417 04-14-2024, 02:45 PM
Last Post: Crimson Nape
  Oscar 1.5.2 freezes at Backing up Files Win11 warreparre 1 88 04-01-2024, 04:48 AM
Last Post: LoudSnorer
  Data Files in an upgrade AlanR 2 106 03-10-2024, 06:45 PM
Last Post: AlanR
  Help reading program Aeonmed AS100A Autocpap ZaidAddenis 1 178 03-08-2024, 10:57 PM
Last Post: SuperSleeper
  OSCAR Doesn't Recognize Data Files Heaviside 1 234 02-17-2024, 05:03 PM
Last Post: Heaviside
  Data Import hangs midway thru catalogueing EDF files dataq1 4 290 01-14-2024, 02:53 PM
Last Post: dataq1
  Request Copy of Resmed Airsense 10 SDCard core files gedm 6 524 12-14-2023, 07:04 PM
Last Post: gedm


New Posts   Today's Posts


About Apnea Board

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