Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 9 of 28

PEN*KEY 6400 Computer Programmer's Reference Guide: Section 2: Supporting DOS Applications, pages 59 to 66

Pages 59 to 66 of 234, from PEN*KEY 6400 Computer Programmer's Reference Guide

The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec 6400

Page 59

Supporting DOS Applications

SECTION 2

51

DISCOVERY_FAILURE Open failure. No devices responded during the discovery procedure.

52

LINK_MANAGEMENT_CONNECT_FAILURE Open failure. A buffer flushing operation failed during the establishment of the link management session with a discovered device.

53

TX_BUFFER_DESC_GET_FAILURE Write failure. Could not get a transmit buffer descriptor to send the data to the printer.

54

BUFFER_GET_FAILURE Write failure. Could not get a transmit buffer to send the data to the printer.

55

BAD_CONNECTION_HANDLE Open, write, or close failure. A defective connection handle was encountered during the flushing of the driver ’s coalescence buffer.

56

UNKNOWN_TRANSMIT_FAILURE Open, write, or close failure. The link access protocol failed for “unknown” reasons during an attempt to flush the driver ’s coalescence buffer.

57

WRITE_WITH_PRINTER_NOT_READY Write failure. A write was attempted to the driver while the driver is in an error state.

58

I_QUEUE_FULL Open, write, or close failure. The driver could not get a queue for the transmission of an information frame.

59

CONNECT_FAILURE Open failure. After a successful discover of an IrDA device, a connection could not be established.

60

DRIVER_CLOSED Write, read, ioctl, close failure. An attempt was made to access the driver while the driver was in a closed state.

61

NO_RECURSION Write, read, ioctl, close failure. An attempt was made to recursively access the driver.

62

BAD_LINK_CONTROL_FRAME_SIZE Open failure, link management failure. The system did not receive the correct frame size for a connect confirmation by IrLMP after the IrLAP link session was established with the remote device.

63

LINK_MANAGEMENT_CONTROL_FRAME_EXPECTED Open failure, link management failure. The system did not receive an IrLMP control frame from the remote device after the IrLAP link session was established. PEN*KEYR 6400 Programmer’s Reference Guide

2-19

Page 60

Supporting DOS Applications close

2-20

SECTION 2

64

NOT_LINK_MANAGEMENT_CONNECT_CONFIRM Open failure, link management failure. The system did not receive an IrLMP connect confirm frame from the remote device after the IrLAP link session was established.

65

RECEIVE_FRAME_FAILURE Open failure, link management failure. The system did not receive the IrLMP connect confirm frame from the remote device that had a successful IrLAP link established.

66

READ_FAILURE_PRINTER_NOT_READY Read failure. An attempt was made to read from the character stream with the connection not in the ready state.

67

READ_FAILURE_PRINTER_IN_NDM Read failure. An attempt was made to read from the character stream with the connection in the normal disconnect mode.

68

READ_FAILURE_BAD_CONNECTION_HANDLE Read failure. An attempt was made to read from the core, and the connection handle used was found to be no longer valid.

69

READ_FAILURE_UNKNOWN_STATUS Read failure. An attempt was made to read from the core that resulted in the core posting an unknown error.

70

WRITE_REQUEST_EXCEEDS_COELESCING_BUFFER Write failure. The user’s write buffer is too large to fit in the local coalescing buffer and is being rejected. Present the data to the driver with a buffer size of less than 128 bytes at this time.

The coalescence buffer is sent to the printer and, after having verified that all data has been sent to the printer, the IrLMP and IrLAP disconnects are performed (if there is a coalescence buffer being used, see the –n switch for details).

PEN*KEYR 6400 Programmer’s Reference Guide

Page 61

Supporting DOS Applications

SECTION 2

Installation and Configuration Make sure the following files are on the system: IRDAPDRV.EXE, PRDRV.SYS

If your system was delivered with an application requiring these files, they should already be in flash. If not, they can most likely be found in the Tool Kit.

Required CONFIG.SYS Entry The following entries are required in the CONFIG.SYS file: device=c:\prdrv.sys install=c:\irdapdrv.exe –t6400 where t6400 is the “technology” of the platform on which this driver is used.

Required AUTOEXEC.BAT Entry There are no required entries in the AUTOEXEC.BAT file for IRDAPDRV.EXE.

Usage Both PRDRV.SYS and IRDAPDRV.EXE have optional parameters. PRDRV.SYS

[fileNameToUse] where fileNameToUse is the name of the device to which this driver should respond. If this option is used, the –f option MUST be used, and the optional name selected MUST match this name string exactly. The default is IRDALPT. B CAUTION:

Use only the switches shown below for IRDAPDRV. It is a multi-platform program, providing features for all of the 6000 Series platforms. None of the other switches are intended for the 6400 Computer and could cause it to malfunction, if used on this platform. IRDAPDRV

[ –? –bn –dn –fs –n –rn –t6400 –x ] where: –?

Provides information about version, revision level, a command line example, a list of the available switches, and brief descriptions of each.

–bn

REMOVES a baud rate from consideration for data transfer rate negotiated during connect. The (n) part of this parameter is one of 19200, 38400, 57600, or 115200. This switch is accumulative and can REMOVE any, or all, of the above baud rates from the default negotiables. When the two systems negotiate, the largest common value is selected and that baud rate is used for communication, after completion of the negotiation.

–dn

Specifies the disconnect time (in seconds) requested during negotiation. The (n) part of this parameter is one of 3, 8, 12, 16, 20, 25, 30, or 40. This switch is accumulative and can add any, or all, of the preceding disconnect times to the default of 3. The two systems negotiating select the largest common value.

–fs

Defines the file name to be used by the driver. This string must be supplied, and must match the driver name option used with PEN*KEYR 6400 Programmer’s Reference Guide

2-21

Page 62

Supporting DOS Applications

SECTION 2

PRDRV.SYS when it was loaded (if used). The default name for this driver is IRDALPT. –n

Designates no coalescing buffer support for devices that send data back to escape sequence quires.

–rn

Specifies the number of discovery retries done at the DOS open command by the driver. For each (n) count, the user is allowed approximately 500 milliseconds to bring the system within range of the printer for data transfer discovery. The default is 2 retries.

–t6400Identifies the 6400 Computer as the IrDA-equipped system, on which the driver is running. –x

Specifies that the driver should disable interrupts not in the open state. This implies that the core is not discoverable and connectable, and therefore cannot perform that role.

DOS IrDA Lite Printing: NORIRDA.SYS This (enhanced) IrDA Lite software is an alternate printing solution, in providing primary DOS character device driver support for IrDA printers.

Installation and Configuration The following entries are required in the CONFIG.SYS file: NORIRDA.SYS

–t:systemType [–n:driverName] [–d:n] [–r:n] where: –t:systemType specifies the type of system being used. In this case, the number you select from the list: 6100, 6110, 6210, 6300, 6350, 6400, 6600, 6620, 6622, should be 6400. This parameter is NOT optional. –n:driverName specifies the new name to which this character device driver should respond. The default is IRDADRVR.

2-22

–d:n specifies the disconnect time (in seconds) requested during negotiation where n is one of 3, 8, 12, 16, 20, 25, 30, or 40. This switch is accumulative and can be used to add any or all of the above disconnect times to the default of 3. The two systems negotiating will select the largest common value.

–r:n specifies the number of seconds discovery retries will be done at the first DOS write command by the driver. The default is 5 seconds.

PEN*KEYR 6400 Programmer’s Reference Guide

Page 63

Supporting DOS Applications

SECTION 2

Battery Monitor: DOSGAS.EXE This program monitors the charging and discharging of the main battery pack.

Usage DOSGAS has optional parameters. DOSGAS.EXE [–Un] [–Pn] [–S] [–N] [–Ln] [–Fn] [x y] where: –S –Un –Pn –N

–Ln –Fn xy

Screen, causes the percentage display mode to be used instead of the annunciator icon mode (annunciator is on bottom line of display). Update, time between updates if not in popup mode, or duration information is displayed if in popup mode. (n) is time, in milliseconds. Popup display mode, (n) is value of keystroke that will cause the information to display when that key is pressed. No display of icons on screen, DOSGAS runs in background. The only indication of low battery consists of audible warnings, when low capacity battery levels are crossed. This preserves last line of display. Length, (n) sets duration of each of the three beeps for low battery warning. Default is 0. Frequency, (n) sets pitch of the 3 beeps for low battery warning. Default is 0. Coordinates for a percentage display (e.g., 75%) on screen. Note the virtual screen on the 6400 computer starts at line 9 in standard 16 line by 20 column font size.

The –L and –F switches are options so the user can adjust the beep to a discernable sound in warehouse or other environment. Four stages of visual and audible low battery warnings should occur according to the following intervals (except when –N option is chosen). " NOTE 1:

By default, frequency and duration of the beeps are set to zero. Switches –Fn and –Ln need to be set, or no beeps can be heard.

" NOTE 2:

For additional information on charging and annunciator display, refer to the Communications and Device Support section.

PEN*KEYR 6400 Programmer’s Reference Guide

2-23

Page 64

Supporting DOS Applications

SECTION 2

High Level Applications RF Applications The Link Driver for 6400 Computer For the appropriate radio type, use the link driver listed to the right, in the following table. The NET.CFG file should include the information listed to the right of the link driver: Table 2-5 NET.CFG File Information

Radio

Link Driver

Included in NET.CFG

Proxim PCMCIA 2.4 GHz

RL2PCM.COM

INT 15 PORT 270 DOMAIN 0 MEM#1 C000 INITIALIZE_365 N

Batch / Mobile Applications Information that has been gathered during the use of your 6400 hand-held computer is sent to a centrally located host computer. This could be daily or several times during the day.

Terminal Emulation This provides a means to emulate another computer. Keyboard overlays identify keys on the 6400 Computer as keys for the emulation. Refer to the 6400 User’s Guide for samples of some of these overlays.

IrDA Communications Downloading parameters, program data, or inventory updating is done through the IrDA port with your hand-held computer connected into a dock, or through the connector on the optional Communication Adapter endcap.

2-24

PEN*KEYR 6400 Programmer’s Reference Guide

Page 65

Supporting DOS Applications

SECTION 2

Client / Server Applications TBD

ADK Application Porting TBD

Emulations TBD

PEN*KEYR 6400 Programmer’s Reference Guide

2-25

Page 66

Supporting DOS Applications

2-26

PEN*KEYR 6400 Programmer’s Reference Guide

SECTION 2