]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/file/magic/Magdir/map
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / file / magic / Magdir / map
1
2
3 #------------------------------------------------------------------------------
4 # $File: map,v 1.1 2014/06/03 18:22:25 christos Exp $
5 # map:  file(1) magic for Map data
6 #
7
8 # Garmin .FIT files http://pub.ks-and-ks.ne.jp/cycling/edge500_fit.shtml
9 8       string  .FIT            FIT Map data
10 >15     byte    0
11 >>35    belong  x               \b, unit id %d
12 # 20 years after unix epoch
13 >>39    lelong  x               \b, serial %u
14 >>43    ledate/631152000 x      \b, %s
15
16 >>47    leshort x               \b, manufacturer %d
17 >>47    leshort 1               \b (garmin)
18 >>49    leshort x               \b, product %d
19 >>53    byte    x               \b, type %d
20 >>53    byte    1               \b (Device)
21 >>53    byte    2               \b (Settings)
22 >>53    byte    3               \b (Sports/Cycling)
23 >>53    byte    4               \b (Activity)
24 >>53    byte    8               \b (Elevations)
25 >>53    byte    10              \b (Totals)