Skip to content

Instantly share code, notes, and snippets.

@barodeur
Last active October 25, 2016 21:35
Show Gist options
  • Save barodeur/5ff745535ef6c8c3b655a73e6d967950 to your computer and use it in GitHub Desktop.
Save barodeur/5ff745535ef6c8c3b655a73e6d967950 to your computer and use it in GitHub Desktop.

Old version

00000000000000ab080200000157fd50ce080004a014771cf4da0b009c00
420b001ffd140a0101020003004501f00150051504c800fd01fe3608b500
11b6000a42389018001fcd60ebce3006431f8644000002c70000000ff100
0051410000000157fd50d60a0004a01d931cf4dd48009b003c0b0025fd14
0a0101020003004501f00150051504c800fd01fe3708b50011b6000a4238
8c180025cd60ebce3006431f8644000002c700000011f100005141000200
0002c9
  • Four zero bytes 4 bytes 00 00 00 00
  • Data length 00 00 00 AB 4 bytes ( 171 )
  • Codec ID 1 byte 08 ( 8 )
  • Number of data 1 byte 02 ( 3 )
  1. First
  • Timestamp 8 bytes 00 00 01 57 FD 50 CE 08 ( 1477423713800 )
  • Priority 1 byte 00 ( 0 )
  • GPS Element 15 bytes
    • Longitude 4 bytes 04 A0 14 77 ( 77599863 )
    • Latitude 4 bytes 1C F4 DA 0B ( 485808651 )
    • Altitude 2 bytes 00 9C ( 156 )
    • Angle 2 bytes 00 42 ( 66 )
    • Satellites 1 byte 0B ( 11 )
    • Speed 2 bytes 00 1F ( 31 )
  • IO Elements
    • Event IO ID 1 byte FD ( 253 )
    • N of Total IO 1 byte 14 ( 20 )
    • N1 of One Byte IO 1 byte 0A ( 10 )
      1. 01 01 1 byte ID + 1 byte VALUE
      2. 02 00
      3. 03 00
      4. 45 01
      5. F0 01
      6. 50 05
      7. 15 04
      8. C8 00
      9. FD 01
      10. FE 36
    • N2 of Two Bytes 1 byte 08 ( 8 )
      1. B5 00 11
      2. B6 00 0A
      3. 42 38 90
      4. 18 00 1F
      5. CD 60 EB
      6. CE 30 06
      7. 43 1F 86
      8. 44 00 00
    • N4 of Four Bytes 1 byte 02 ( 2 )
      1. C7 00 00 00 0F
      2. F1 00 00 51 41
    • N8 of Height Bytes 1 byte 00
  • Second
    • ...

New version

00000000000000f0080300000157d285ddf801038212af1d4b814600da01
55140009f00f06010102004503f0011503ef01fa01000ab6000642706718
0007cd3162ce180802c700000005f100005141014e01688baf170000e700
000157d28b48b001037f7dd31d4db7f600cc0093110000f00f0601010200
4503f0001500ef0106b5000bb60006427041180000cd0000ce000002c700
0003c0f100000000014e01688baf170000e700000157d28b4c9801037f7d
d31d4db7f600cc0000110000f00f06010102004503f0011500ef0106b500
0bb60006427058180000cd0000ce000002c700000000f100000000014e01
688baf170000e7030000b359
  • Four zero bytes 4 bytes 00 00 00 00
  • Data length 00 00 00 F0
  • Codec ID 1 byte 08 ( 8 )
  • Number of data 1 byte 03 ( `3 )
  • Timestamp 8 bytes 00 00 01 57 D2 85 DD F8 ( 1476705771000 )
  • Priority 1 byte 01 ( 1 )
  • GPS Element 15 bytes
    • Longitude 4 bytes 03 82 12 AF ( 58856111 )
    • Latitude 4 bytes 1D 4B 81 46 ( 491487558 )
    • Altitude 2 bytes 00 DA ( 218 )
    • Angle 2 bytes 01 55 ( 341 )
    • Satellites 1 byte 14 ( 20 )
    • Speed 2 bytes 00 09 ( 9 )
  • IO Elements
    • Event IO ID 1 byte F0 ( 240 )
    • N of Total IO 1 byte 0F ( 15 )
    • N1 of One Byte IO 1 byte 06 ( 6 )
      • 01 01 1 byte ID + 1 byte VALUE
      • 02 00
      • 45 03
      • F0 01
      • 15 03
      • EF 01
    • N2 of Two Bytes 1 byte FA ( 250 ) IMPOSSIBLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment