Skip to content

Instantly share code, notes, and snippets.

@deoxxa
Created February 10, 2011 05:23
Show Gist options
  • Save deoxxa/819994 to your computer and use it in GitHub Desktop.
Save deoxxa/819994 to your computer and use it in GitHub Desktop.
$ ./parser -d data/log.log
=== Packet Header ===
Packet length is: 225
Packet CRC is: 5187
=== AVL Array ===
Codec: 8
Records: 6
=== AVL Element ===
Timestamp: 1297219765583
Priority: 0
=== AVL Element (GPS) ===
Lat/Long: 4071572336/1197189890
Altitude: 468
Angle: 0
Satellites: 8
Speed: 0
=== AVL Element (IO) ===
Event ID: 0
Total: 2
1 byte: 1
> 9: 5
2 byte: 0
4 byte: 1
> 78: 349060349
8 byte: 0
=== AVL Element ===
Timestamp: 1297219775583
Priority: 0
=== AVL Element (GPS) ===
Lat/Long: 4071572336/1197189890
Altitude: 468
Angle: 0
Satellites: 8
Speed: 0
=== AVL Element (IO) ===
Event ID: 0
Total: 2
1 byte: 1
> 9: 5
2 byte: 0
4 byte: 1
> 78: 349060349
8 byte: 0
=== AVL Element ===
Timestamp: 1297219785583
Priority: 0
=== AVL Element (GPS) ===
Lat/Long: 4071572336/1197189890
Altitude: 468
Angle: 0
Satellites: 8
Speed: 0
=== AVL Element (IO) ===
Event ID: 0
Total: 2
1 byte: 1
> 9: 5
2 byte: 0
4 byte: 1
> 78: 349060349
8 byte: 0
=== AVL Element ===
Timestamp: 1297219795583
Priority: 0
=== AVL Element (GPS) ===
Lat/Long: 4071572336/1197189890
Altitude: 468
Angle: 0
Satellites: 8
Speed: 0
=== AVL Element (IO) ===
Event ID: 0
Total: 2
1 byte: 1
> 9: 5
2 byte: 0
4 byte: 1
> 78: 349060349
8 byte: 0
=== AVL Element ===
Timestamp: 1297219805583
Priority: 0
=== AVL Element (GPS) ===
Lat/Long: 4071572336/1197189890
Altitude: 468
Angle: 0
Satellites: 8
Speed: 0
=== AVL Element (IO) ===
Event ID: 0
Total: 2
1 byte: 1
> 9: 5
2 byte: 0
4 byte: 1
> 78: 349060349
8 byte: 0
=== AVL Element ===
Timestamp: 1297219815583
Priority: 0
=== AVL Element (GPS) ===
Lat/Long: 4071572336/1197189890
Altitude: 468
Angle: 0
Satellites: 8
Speed: 0
=== AVL Element (IO) ===
Event ID: 0
Total: 2
1 byte: 1
> 9: 5
2 byte: 0
4 byte: 1
> 78: 349060349
8 byte: 0
2010-02-09 13:42:44,0,-223394960,1197189890,0,0,468,8,9:5 78:349060349 [9=5] [78=349060349],139642191,302
2010-02-09 13:42:44,0,-223394960,1197189890,0,0,468,8,9:5 78:349060349 [9=5] [78=349060349],139652191,302
2010-02-09 13:42:44,0,-223394960,1197189890,0,0,468,8,9:5 78:349060349 [9=5] [78=349060349],139662191,302
2010-02-09 13:42:44,0,-223394960,1197189890,0,0,468,8,9:5 78:349060349 [9=5] [78=349060349],139672191,302
2010-02-09 13:42:44,0,-223394960,1197189890,0,0,468,8,9:5 78:349060349 [9=5] [78=349060349],139682191,302
2010-02-09 13:42:44,0,-223394960,1197189890,0,0,468,8,9:5 78:349060349 [9=5] [78=349060349],139692191,302
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment