Gpsbabel offers hundreds of options to convert the NMEA sentences to whatever you want. $ gpsbabel -i your_nmea_file -f hcxdumptool.nmea -o gpx -F file.gpx $ gpsbabel -i converted_nmea_sentences_from_pcapng_file -f hcxdumptool.nmea -o gpx -F file.gpx Then use GPSbabel to convert them for use with Viking (case 2): $ hcxpcapngtool -nmea=converted_nmea_sentences_from_pcapng_file To retrieve the NMEA data from the pcapng file (case 2), run:
NMEA sentences should be written directly to the pcpang file (custom comment field)Īdditional you can use -nmea=your_nmea_file to save them separate to a file (on the fly) $ hcxdumptool -use_gps_device=your_device JSON format produce too much overhead and that is the reason for me, to drop it. Now we have two internal counters: one for GPSD old JSON format and one for NME sentences. Hcxpcapngtool -nmea= uses new format from latest hcxdumptool Hcxpcaptool -nmea= uses new format from latest hcxdumptool
Hcxpcaptool -g uses old format from old hcxdumptool I dropped that xml conversion (and gpsd), because GPSBabel can do this much better. Hcxdumptool >= v 6 require hcxpcapngtool -nmea to convert the NMEA sentences or hcxpcaptool -nmea. That depends on the version of the tools: Network type.: DLT_IEEE802_11_RADIO (127)Įndianness.: little endian (Kali):~# hcxpcaptool -E opt_E -T opt_T -g opt_g -nmea=opt_nmea -o opt_o -z opt_z.16800 real.pcapngįile name.: real.pcapngįile type.: pcapng 1.0įile hardware information.: aarch64Ĭapture device vendor information: 00c0caįile os information.: Linux 4.19.66-Re4son-v8+įile application information.: hcxdumptool 6.0.1 (custom options)