Native Mode Responses; Configuration - Intermec Trakker Antares 2415 Programmer's Manual

Native terminal emulation
Hide thumbs Also See for Trakker Antares 2415:
Table of Contents

Advertisement

Appendix
D
Native Sockets
Codes in Terminal Number Field
Server or Gateway
Command
Native Syntax
800
No messages are available for the application. The application can perform housekeeping tasks or
go back to waiting for a message (same as NUI_TIMEOUT).
998
The terminal has not passed a message for a predetermined length of time. The application can
either ignore the message or act on it. For example, this code could be returned if the terminal is
left unattended with the application running (same as NUI_DEAD).
999
The server or gateway wants it to terminate. If the application does not terminate within 15
seconds, it is terminated automatically. The application receives this message when the server or
gateway shuts down or is reset, or if the server or gateway detects an error (same as NUI_STOP).
NUI_OK
The server or gateway completion was normal.
NUI_STOP
The server or gateway wants to terminate (same as 999 code).
NUI_DEAD
The associated terminal has not been passed a message for a predetermined length of time (same
as 998 code).
NUI_TIMEOUT
No data available from the application to be read from the server or gateway (same as 800 code).
NUI_BAD
A fatal error occurred, which prevents continued execution.
NUI_BOOT
The associated terminal is powered on and can be used to reload data into the terminal. Or, it
can be ignored.

Configuration

284

Native Mode Responses

The server or gateway sends the following codes in the terminal number
field returned to the application.
Program interfaces return the terminal number and the server, gateway, or
terminal response. If one of these codes is not set, the field contains the
number of the terminal.
To use Native sockets, you must configure IP, RF communication, and
terminal parameters for the server, gateway, and terminal. To configure
these parameters, refer to the device's user manual for instructions.
When everything is configured correctly and the terminal is powered on, a
unique connection (socket) is established between the terminal and your
sockets-based Native emulation program.
Commands to the terminals must be in the appropriate syntax for their
Native mode (see Chapter 6, "Terminal Commands"). The parameter and
diagnostic commands in Chapter 5, "Intermec Application Server and Gate-
way Commands," should be ignored.
The following WtD/ (Write Display) command is a sample startup menu
for a terminal with viewing screen size set to 16.
DBCDNL1H2P15/01 - STDIO TEST 02 - DIRECT TEST
Note that this message does not have the "W" at the beginning, nor does it
contain the terminal number. The communication driver in the server or
gateway adds the "W" and the terminal number.
Native Terminal Emulation Programmer's Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents