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

AirMini Travel Data Extraction & Teardown
#11
RE: AirMini Travel Data Extraction & Teardown
(02-27-2019, 12:03 AM)JimIve Wrote: The 256KB FRAM contains a FAT12 filesystem, but doesn't contain the sleep data (having some communication errors which need to be knocked down so I haven't seen every "page" on there yet, but it appears to be just settings and a journal file) and some DATALOG files (which don't contain sleep data), and the FRAM would be too small:

Code:
drwxrwxrwx  1 unknown  staff   1024  1 Jan  2012 DATALOG
drwxrwxrwx  1 unknown  staff   1024  1 Jan  2012 ERRORLOG
drwxrwxrwx  1 unknown  staff   1024  1 Jan  2012 SETTINGS
-rwxrwxrwx  1 unknown  staff  16384  1 Jan  2012 journal.jnl

./DATALOG:
total 296
drwxrwxrwx  1 unknown  staff   1024  1 Jan  2012 .
drwxrwxrwx@ 1 unknown  staff  16384 26 Feb 21:55 ..
-rwxrwxrwx  1 unknown  staff   5120  1 Jan  2012 AEE.EVN
-rwxrwxrwx  1 unknown  staff  26880  1 Jan  2012 BAE.EVN
-rwxrwxrwx  1 unknown  staff   3840  1 Jan  2012 BEE.EVN
-rwxrwxrwx  1 unknown  staff   6400  1 Jan  2012 DAE.EVN
-rwxrwxrwx  1 unknown  staff  33280  1 Jan  2012 DAF.EVN
-rwxrwxrwx  1 unknown  staff   5120  1 Jan  2012 ELV.EVN
-rwxrwxrwx  1 unknown  staff   3840  1 Jan  2012 FAE.EVN
-rwxrwxrwx  1 unknown  staff  26880  1 Jan  2012 RAE.EVN
-rwxrwxrwx  1 unknown  staff   6400  1 Jan  2012 REE.EVN
-rwxrwxrwx  1 unknown  staff   5120  1 Jan  2012 SRE.EVN
-rwxrwxrwx  1 unknown  staff   6400  1 Jan  2012 XSE.EVN

./ERRORLOG:
total 34
drwxrwxrwx  1 unknown  staff   1024  1 Jan  2012 .
drwxrwxrwx@ 1 unknown  staff  16384 26 Feb 21:55 ..

./SETTINGS:
total 60
drwxrwxrwx  1 unknown  staff   1024  1 Jan  2012 .
drwxrwxrwx@ 1 unknown  staff  16384 26 Feb 21:55 ..
-rwxrwxrwx  1 unknown  staff     27  6 Aug  2017 AGL.set
-rwxrwxrwx  1 unknown  staff     23  6 Aug  2017 AHL.set
-rwxrwxrwx  1 unknown  staff     80  1 Jan  2012 BGL.set
-rwxrwxrwx  1 unknown  staff    345  1 Jan  2012 BTP.set
-rwxrwxrwx  1 unknown  staff     20  6 Aug  2017 CGL.set
-rwxrwxrwx  1 unknown  staff    325  1 Jan  2012 DID.set
-rwxrwxrwx  1 unknown  staff     28  6 Aug  2017 EGL.set
-rwxrwxrwx  1 unknown  staff   1038  1 Jan  2012 MCF.set
-rwxrwxrwx  1 unknown  staff     28  6 Aug  2017 MGL.set
-rwxrwxrwx  1 unknown  staff     54  1 Jan  2012 MML.set
-rwxrwxrwx  1 unknown  staff     48  6 Aug  2017 PGL.set


The SPI Flash seems to contain the sleep data, but I'm stumped as to the format.  Anyone have a clue how they're storing the sleep data?  They use "FS NOR" repeatedly at the beginning of every page, but I couldn't find a match on the flash file format.  Anyone familiar with SleepyHead have any ideas about this?

I just took a quick look at the SPI NOR data you posted and am trying to make sense of the data. There is a small header and then a bunch of records but no index or table of contents present that I can see. I'm thinking that maybe they're using the FRAM to keep track of this bookkeeping information such as where to write next, etc...

Can you upload the FRAM contents as well? I think the journal might contain some helpful clues.
Post Reply Post Reply



Donate to Apnea Board  
#12
RE: AirMini Travel Data Extraction & Teardown
What I've been able to suss out so far is that the first 32 bytes of the file appears to be some sort of header which is then followed by N records of 368 bytes (0x170) each which appear to consist entirely of signed 16-bit values. I tried to interpret a bunch of the values as some standard time formats but none of them appear to make sense. This pattern does break down partway through the file, so hopefully other sources of information can shed some light on it.

I think the journal file from the FRAM might be helpful in finding timestamps or other metadata for the records stored in the SPI NOR.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OSCAR [unable to import data after original migration of SH data] OpalRose 20 474 05-04-2019, 09:09 PM
Last Post: OpalRose
  European travel and Airsense 10 connection johnsnoreba 6 254 01-21-2019, 10:37 AM
Last Post: DeepBreathing
  How to delete data points in Oximeter data DBBCPAP 3 260 12-19-2018, 06:43 PM
Last Post: DBBCPAP
  Resmed Airmini data mcsblues 7 1,547 06-07-2018, 08:28 AM
Last Post: mltam
Cool Historical Sleepyhead data looks strange after travel to different timezone vas2000 15 1,821 04-23-2018, 03:21 PM
Last Post: Crimson Nape
Question AirMini software & SD card questions SuperSleeper 5 1,697 11-19-2017, 06:13 PM
Last Post: John Osborn
  Somnetics Transcend II Travel CPAP clinician password lesray1 29 47,260 09-10-2016, 04:28 PM
Last Post: SuperSleeper


New Posts   Today's Posts






About Apnea Board

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