|
SELKIELogger
1.0.0
|
Read N2K messages and summarise. 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"
Go to the source code of this file.
Macros | |
| #define | PGN_MAX 16777216 |
| Largest possible PGN value. | |
| #define | BUFSIZE 1024 |
| Allocated read buffer size. | |
Functions | |
| int | main (int argc, char *argv[]) |
Variables | |
| int | msgCount [PGN_MAX] |
Read N2K messages and summarise.
Definition in file N2KClassify.c.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Reads messages from file, and prints the number seen for each PGN number. Zero counts are suppressed.
| [in] | argc | Argument count |
| [in] | argv | Arguments |
Definition at line 61 of file N2KClassify.c.
| int msgCount[PGN_MAX] |
Count of messages seen by PGN number
Could be smarter, but it's a relatively small amount of memory in the grand scheme of things.
Definition at line 51 of file N2KClassify.c.