3 #------------------------------------------------------------------------------
4 # $File: map,v 1.1 2014/06/03 18:22:25 christos Exp $
5 # map: file(1) magic for Map data
8 # Garmin .FIT files http://pub.ks-and-ks.ne.jp/cycling/edge500_fit.shtml
9 8 string .FIT FIT Map data
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
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)