#include <stdio.h>
#include "ltkcpp.h"
Go to the source code of this file.
Functions | |
int | main (int ac, char *av[]) |
Command main routine. | |
void | usage (char *pProgName) |
Print usage message and exit. |
This is sometimes called the "LLRP Hello World" program
The steps:
This program can be run with zero, one, or two verbose options (-v). no -v -- Only prints the tag report and errors -v -- Also prints one line progress messages -vv -- Also prints all LLRP messages as XML text
Definition in file example1.cpp.
int main | ( | int | ac, | |
char * | av[] | |||
) |
Command main routine.
Command synopsis:
example1 [-v[v]] READERHOSTNAME
0 Everything *seemed* to work. 1 Bad usage 2 Run failed
Command synopsis:
dx201 [-v[v]] READERHOSTNAME
Options: -v Verbose, each -v increments verbosity -q Quiet, don't print tag reports (used for characterization) -012345 Select mode, if not given the default mode is used
0 Everything *seemed* to work. 1 Bad usage 2 Run failed
Command synopsis:
dx101 INPUTFILE
0 Everything *seemed* to work. 1 Bad usage 2 Could not open input file
Definition at line 165 of file example1.cpp.
References usage().
void usage | ( | char * | pProgName | ) |
Print usage message and exit.
[in] | nProgName | Program name string |
Definition at line 247 of file example1.cpp.
Referenced by main().