Intermec 5055 Reference Guide

Page of 216
Converting Trakker Antares, 6400, and JANUS Applications to 5055 Applications
4-7
4
For example, many JANUS PSK functions require that the im_link function has been
called. There is no equivalent function in the Trakker Antares PSK and 6400 PSK. You
can assign the success value to im_link so that your program handles the function
without disrupting your program.
To assign a success value to im_link for Trakker Antares PSK and 6400 PSK programs,
add this line to the compatibility file:
#define im_link(x,x,x) atoi(“0”)
Converting Applications
This section explains how to convert Trakker Antares, 6400, and JANUS applications
to 5055 applications.
Converting Trakker Antares and 6400 Applications to
5055 Applications
To convert a Trakker Antares or 6400 application to a 5055 application, rebuild the
application using the 5055 library file, 
IM5055.LIB
. For help, see Chapter 3, “Building
Applications.”
Converting JANUS Applications to 5055 Applications
The JANUS PSK library provides many functions that are not part of the 5055 PSK. If
you use any of the incompatible functions, you must change your program or create an
include file that traps the unsupported functions.
To convert a JANUS application to a 5055 application, rebuild the application using the
5055 library file, 
IM5055.LIB
. For help, see Chapter 3, “Building Applications.”
This table lists the functions from the JANUS PSK that you must modify to use with
the 5055 PSK.
JANUS PSK Function
5055 PSK Differences and Solutions
im_appl_break_status
5055 uses a hot key to break out of an application.
im_backlight_toggle
Not supported on 5055. Do not use.
im_cancel_tx_buffer
The 5055 PSK returns different return codes. Change your code to accept or test
against these values:
IM_SUCCESS, IM_NET_ERROR, IM_PORT_INACTIVE,
TRANSMIT_COMPLETE
im_clear_abort_callback
Not supported on 5055.