SELKIELogger  1.0.0
NMEAMessagesFromFile.c File Reference

Test reading NMEA data from a file. More...

#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "SELKIELoggerBase.h"
#include "SELKIELoggerNMEA.h"
Include dependency graph for NMEAMessagesFromFile.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

Test reading NMEA data from a file.

Definition in file NMEAMessagesFromFile.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Read data from file until end of file is reached, outputting total number of entries read.

Exact outputs dependent on supplied test data

Parameters
[in]argcArgument count
[in]argvArguments
Returns
0 (Pass), -1 (Fail), -2 (Failed to run / Error)

Definition at line 49 of file NMEAMessagesFromFile.c.