TRAKKER Antares 2420 and 2425 Hand-Held Terminal User’s Manual
Co de 39
Nugget
4-32
CLIENT.CPP
is the source for a sample application you can run on the host. You can use
CLIENT.CPP
to send reader commands to the T2425 and receive the resulting messages.
The source code for the sample utilities
CLIENT.CPP
and the include file
UTILS.H
is
shown on the next pages. You can build the application using Microsoft Visual C++
version 4.0 (or higher) and the Windows sockets library that is included with Microsoft
Visual C++. You can also develop your own application to meet the needs of your host
environment.
You run the resulting application (
CLIENT.EXE
) from the DOS command line. The
application expects NCM to be defined as the TRAKKER Antares terminal IP address in
the hosts file. Once running, the application prompts you to enter a reader command,
which it then sends to the T2425. The application also displays any return messages.
Reader commands are handled by the TRAKKER Antares operating system, so you can
continue running an application while you use the
CLIENT.EXE
application to send
commands.