aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-27 14:10:55 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-01-27 14:10:55 -0800
commit5bc3ba5e95e753c86d483d8adc0326e8a80c5797 (patch)
tree187f227d523948845655e9e6f830e9faff4a8ea1 /main.c
parente5d2bdc9ba6f6a160776717f244a05286831c1ed (diff)
downloadsubsurface-5bc3ba5e95e753c86d483d8adc0326e8a80c5797.tar.gz
cochran: do the full de-scramble for one case
So this descrambles all the dives in *one* of my cochran test files. I still don't know what the dive data *means*, but it's not a random jumble of bytes any more: there are very clear patterns. However, the magic offsets that work for that particular CAN file are not generic, because they don't work for another. So there is some magic dynamic decoding that I don't know about. There is probably more decode information in the initial decode block, over and beyond just the scrambling bytes. (The scrambling array is 234 bytes starting at 0x40001, but the first actual *dive* data starts at 0x45e03, so there's tons of unknown stuff in the file even outside the dives themselves) Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions