@@ -343,7 +343,6 @@ static uint64_t timestampmax;
343
343
static uint64_t timestampdiff ;
344
344
static uint64_t eaptimegapmax ;
345
345
static uint64_t captimestampold ;
346
- static time_t nmeaoffset ;
347
346
348
347
static uint64_t eapoltimeoutvalue ;
349
348
static uint64_t ncvalue ;
@@ -680,7 +679,6 @@ static int c;
680
679
static uint8_t i ;
681
680
static uint16_t p ;
682
681
683
- if (nmeagoodcscount > 0 ) fprintf (stdout , "NMEA time offset (seconds)...............: %ld\n" , nmeaoffset );
684
682
if (nmeagoodcscount > 0 ) fprintf (stdout , "NMEA with good CS........................: %ld\n" , nmeagoodcscount );
685
683
if (nmeabadcscount > 0 ) fprintf (stdout , "NMEA with bad CS.........................: %ld\n" , nmeabadcscount );
686
684
if (nmeagbscount > 0 ) fprintf (stdout , "NMEA GBS.................................: %ld\n" , nmeagbscount );
@@ -6281,7 +6279,6 @@ fprintf(stdout, "long options:\n"
6281
6279
"--nmea-in=<file> : input NME 0183 file\n"
6282
6280
" to convert gpx to NMEA 0183, use GPSBabel:\n"
6283
6281
" gpsbabel -w -t -i gpx -f in_file.gpx -o nmea -F out_file.nmea\n"
6284
- "--nmea-offset=<file> : time offset between NMEA 0183 file and dump file in seconds\n"
6285
6282
"--nmea-out=<file> : output GPS data in NMEA 0183 format\n"
6286
6283
" format: NMEA 0183 $GPGGA, $GPRMC, $GPWPL\n"
6287
6284
" to convert it to gpx, use GPSBabel:\n"
@@ -6441,7 +6438,6 @@ static const struct option long_options[] =
6441
6438
{"ignore-ie" , no_argument , NULL , HCX_IE },
6442
6439
{"max-essids" , required_argument , NULL , HCX_ESSIDS },
6443
6440
{"nmea-in" , required_argument , NULL , HCX_NMEA_IN },
6444
- {"nmea-offset" , required_argument , NULL , HCX_NMEA_OFFSET },
6445
6441
{"nmea-out" , required_argument , NULL , HCX_NMEA_OUT },
6446
6442
{"csv" , required_argument , NULL , HCX_CSV_OUT },
6447
6443
{"raw-out" , required_argument , NULL , HCX_RAW_OUT },
@@ -6519,7 +6515,6 @@ fh_pmkideapoljtrdeprecated = NULL;
6519
6515
fh_pmkiddeprecated = NULL ;
6520
6516
fh_hccapxdeprecated = NULL ;
6521
6517
fh_hccapdeprecated = NULL ;
6522
- nmeaoffset = 0 ;
6523
6518
gzipstat = 0 ;
6524
6519
capstat = 0 ;
6525
6520
pcapngstat = 0 ;
@@ -6605,10 +6600,6 @@ while((auswahl = getopt_long (argc, argv, short_options, long_options, &index))
6605
6600
nmeainname = optarg ;
6606
6601
break ;
6607
6602
6608
- case HCX_NMEA_OFFSET :
6609
- nmeaoffset = strtol (optarg , NULL , 10 );
6610
- break ;
6611
-
6612
6603
case HCX_NMEA_OUT :
6613
6604
nmeaoutname = optarg ;
6614
6605
break ;
0 commit comments