#include "readsick.H"#include <libgen.h>#include <cstdio>#include <cstring>#include <iomanip>#include <iostream>#include <unistd.h>#include "print_field.H"Classes | |
| struct | field_spec_t |
Defines | |
| #define | DF_NEWLINE -6 |
| DANGER -- Code from here is extracted out to print_field.C. | |
Functions | |
| int | main (int argc, char **argv) |
Variables | |
| char const * | progname |
| bool | realtime |
| bool | print_name |
| bool | print_id |
| bool | print_size |
| field_spec_t | field_specs [] |
| #define DF_NEWLINE -6 |
DANGER -- Code from here is extracted out to print_field.C.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
{
{
"switch_mode", 0x20,
msg_0x20_printer, msg_0x20_field_names,
},
{
"configure", 0x77,
msg_0x77_printer, msg_0x77_field_names,
},
{
"power_on", 0x90,
msg_0x90_printer, msg_0x90_field_names,
},
{
"measured_values", 0xB0,
msg_0xB0_printer, msg_0xB0_field_names,
},
{
"lms_status", 0xB1,
msg_0xB1_printer, msg_0xB1_field_names,
},
{
NULL,
},
}
| bool print_id |
| bool print_name |
Referenced by main(), print_field_beg(), and print_field_end().
| bool print_size |
Referenced by main().
| char const* progname |
| bool realtime |
1.6.1