|
ACQ2XX_API
|
implementation of acq2sh "remote shell" using API. More...
Go to the source code of this file.
Defines | |
| #define | MAXBUF 4096 |
Functions | |
| int | main (int argc, const char **argv) |
Variables | |
| int | acq200_debug |
| char * | device |
| poptContext | opt_context |
| char | command [MAXBUF] = {} |
| char | response [MAXBUF] = {} |
implementation of acq2sh "remote shell" using API.
acq2sh can run any shell command on the target device WARNING: output is limited to 4096 bytes, for longer outputs, consider saving to a file, then transferring the file
Definition in file acq2sh.cpp.
| #define MAXBUF 4096 |
Definition at line 37 of file acq2sh.cpp.
Referenced by main().
| int main | ( | int | argc, |
| const char ** | argv | ||
| ) |
Definition at line 42 of file acq2sh.cpp.
References acq200_debug, Transport::acq2sh(), command, device, Acq2xx::getTransport(), Transport::getTransport(), MAXBUF, opt_context, response, and STATUS_IS_OK.
| int acq200_debug |
Definition at line 33 of file acq2sh.cpp.
| char command[MAXBUF] = {} |
Definition at line 38 of file acq2sh.cpp.
Referenced by main(), Dt100Transport::readChannel(), and Dt100Transport::readStreamingFrame().
| char* device |
Definition at line 34 of file acq2sh.cpp.
| poptContext opt_context |
Definition at line 35 of file acq2sh.cpp.
Referenced by main(), and processOpts().
| char response[MAXBUF] = {} |
Definition at line 39 of file acq2sh.cpp.
Referenced by Acq2xx::getNumSamples(), and main().
1.7.4