hcxdumptool update:
added GPSD support (stored as comment in pcapng file)
--use_gpsd : use GPSD to retrieve position
add latitude, longitude and altitude to every pcapng frame
device must be supported by GPSD:
http://www.catb.org/gpsd/hardware.html
(tested using: AktivePilot JENTRO BT-GPS-8)
1. run GPSD
2. run hcxdumptool with option --use_gpsd
3. terminate hcxdumptool
4. retrieve GPS information from capture file with (order is changeable):
$ tshark -r filename.pcapng -Y frame.comment -T fields -E header=y -e frame.number -e frame.time -e wlan.sa -e frame.comment
Output should look like this
1 Sep 27, 2018 00:22:59.081914000 CEST xx:xx:xx:x:xx:xx lat:xx.xxxxxx,lon:y.yyyyyy,alt:z.z
2 Sep 27, 2018 00:22:59.343230000 CEST xx:xx:xx:x:xx:xx lat:xx.xxxxxx,lon:y.yyyyyy,alt:z.z
3 ...
added GPSD support (stored as comment in pcapng file)
--use_gpsd : use GPSD to retrieve position
add latitude, longitude and altitude to every pcapng frame
device must be supported by GPSD:
http://www.catb.org/gpsd/hardware.html
(tested using: AktivePilot JENTRO BT-GPS-8)
1. run GPSD
2. run hcxdumptool with option --use_gpsd
3. terminate hcxdumptool
4. retrieve GPS information from capture file with (order is changeable):
$ tshark -r filename.pcapng -Y frame.comment -T fields -E header=y -e frame.number -e frame.time -e wlan.sa -e frame.comment
Output should look like this
1 Sep 27, 2018 00:22:59.081914000 CEST xx:xx:xx:x:xx:xx lat:xx.xxxxxx,lon:y.yyyyyy,alt:z.z
2 Sep 27, 2018 00:22:59.343230000 CEST xx:xx:xx:x:xx:xx lat:xx.xxxxxx,lon:y.yyyyyy,alt:z.z
3 ...