Intermec 5055 Reference Guide

Page of 216
Status Codes
A-3
A
This appendix lists the status code hex values and their meanings and contains a
table of the ASCII character set and ASCII control characters.
Using the Status Code Return Values
Most of the PSK functions return status codes. You can use the codes to test for error
conditions that your application will act upon. How you test for the status codes
depends on the complexity of the function returning the status and your application
needs.
In most cases, you can use the status code macros discussed in Chapter 2,
“Programming Guidelines,” to determine success or failure. In other cases, you can
check for the exact status code value.
The next table lists the status code return values and the error message text provided by
im_message. The status codes are in hex.
Note:
 The status codes are IM_USHORT (unsigned short) values.
5055 Status Code Return Values
Status Code
Message Text
0x000
Successful operation (IM_SUCCESS or IM_OK)
0x051
Response larger than buffer
0x052
Invalid command
0x053
Set attribute with bad value
0x054
Write to read-only attribute
Attempted to write a value to a read-only attribute
0x055
General error not covered
0x056
Incorrect parameter or string length
0x057
Queue or pool empty
0x058
Action not permitted from this origin
0x059
Indicates that a DLE character has been found and must be removed from the input string
0x05A
During config. parsing, a digit was expected
While parsing a configuration command, expected a digit but encountered another value
0x060
Queue is full
0x061
UDP+: Buffer too large to send
0x062
UDP+: NULL buffer was passed