SELKIELogger  1.0.0
N2KRead.c File Reference

Read and print N2K messages. More...

#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "SELKIELoggerBase.h"
#include "SELKIELoggerN2K.h"
#include "version.h"
Include dependency graph for N2KRead.c:

Go to the source code of this file.

Macros

#define BUFSIZE   1024
 Allocated read buffer size.
 

Functions

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

Detailed Description

Read and print N2K messages.

Definition in file N2KRead.c.

Function Documentation

◆ main()

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

Read messages from file and print details to screen.

Detail printed depends on whether structure of message is known, although brief data can be printed for all messages at higher verbosities.

Parameters
[in]argcArgument count
[in]argvArguments
Returns
-1 on error, otherwise 0

Definition at line 52 of file N2KRead.c.