How to check SensorKit data

Hi,

I've been testing out how SensorKit collects data on iOS for a few days now. To this end, I have been trying to see what the ambient light data that has been collecting for a few days looks, and have been trying to decompress the lz4 file that is exported when I export from Research Sensor & Usage Data on my iPhone.

I've tried a few methods to decompress lz4 (like lz4 on the terminal) to no avail. What I tried was:

lz4 -d filename.lz4

The error is:

Error 44 : Unrecognized header : file cannot be decoded

When I try to find out more about the file,

file filename.lz4

it simply says data.

I am wondering how I can view the contents of this lz4 file.

I couldn't easily find a client that could decode lz4 so I wrote some code to do it using Apple's sample code for Compression and Decompression on this page.

How to check SensorKit data
 
 
Q