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 14 of 17

6110 Hand-Held Computer Technical Reference: Section 6: Communications, pages 127 to 134

Pages 127 to 134 of 160, from 6110 Hand-Held Computer Technical Reference

The original document is the PDF (1.9 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 6110

Page 127

Section 6

Communications "

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

"

This section discusses INTERLNK and INTERSVR products from Microsoft Corporation and are bundled with MS-DOS. This also includes Norand R Utilities from Intermec Technologies Corporation and an overview of a telecommunications session.

INTERLNK and INTERSVR INTERLNK connects a PEN*KEY R 6000 Series Computer and a PC through serial ports. INTERSVR is the INTERLNK server, a communication option in Norand Utilities. These two resources are shipped with the DOS Toolkit. The cable that connects the PC to your hand-held computer can be either a standard null modem cable or a TTY TCOM cable. You also need a dock. INTERLNK makes the hand-held computer drives appear as virtual drives on the PC, with drive letters that are beyond the highest drive letter currently used on the PC. After installing INTERLNK, type “INTERLNK” from the PC command line to display the designations for the redirected drives. See the diagram below. Port=COM2 This Computer (Client) --------------F: G: H: I:

Other Computer (Server) -----------------equals A: equals B: equals C: equals D: (519Kb)

For more details, refer to the DOS online help text.

6110 Hand-Held Computer Technical Reference

6-1

Page 128

Communications

SECTION 6

Norand Utilities The Norand Utilities program (PSROM0C.EXE, PSROB0C.EXE) provides the basic functions required to prepare the 6000 Series Computer for use. It can also be called from applications to perform data communications.

Initial Program Load By default, the 6110 DOS Toolkit startup files execute PSROM0C.BAT (residing in the \Psrom0c\ directory), which starts Norand Utilities to perform an Initial Program Load (IPL). During IPL, the working directory is \App. In other words, downloaded files are placed in the \App directory by default. Do not download \AUTOEXEC.BAT directly because it could be deleted during a failed communication session, making the computer unable to boot. Instead, include AUTOEXEC.BAT in a compressed archive or download it under a different filename. The application’s CONFIG.SYS file must install the application’s AUTOEXEC.BAT file. For example, include these lines in the CONFIG.SYS file: set path=c:\psrom0c;c:\utils install=c:\command.com c:\ /c updates.bat

The UPDATES.BAT file provided in c:\Psrom0c extracts all .LZH archives located in the \App directory. Files are extracted relative to the root directory.

NPCP Network

NPCP is the Norand Portable Communications Protocol. This protocol is supported by the Norand 6920 Communications Server, the 4920 Series Telecommunications Packages, 498x Communication Controllers, and 6980/6985 Network Managers. 1. Create a download include file, as described on page 4-4. 2. Create a 6920 or 4920 boot disk, if necessary. The only file on a 6920 or 4920 boot disk is a download include file. The include file is copied to the DOWNLOAD subdirectory of the 6920 or 4920. " NOTE:

4000 Series applications are copied to a BOOT subdirectory. 6000 Series applications are copied to the DOWNLOAD subdirectory.

3. Create a 4980 boot disk, if necessary (be aware there is limited space on the 4980 system). Place the 4980 system files on the 4980 boot disk in the same way as is done for 4000 Series applications (such as using the 4980 Boot Toolkit). Place the download include file on the disk by executing the following commands: MD A:\DATA COPY <include file> A:\DATA NCDIR.EXE A:\DATA

" NOTE:

NCDIR.EXE is included in the 4980 Boot Toolkit.

" NOTE:

The Norand Utilities program first attempts a session to NORAND_SERVER, which allows the application to be retrieved from a 498x Communications Controller or 6980 Series Network Manager. If the application is not stored on the network manager, a session is initiated to NORAND_HOST, which connects to the host.

6-2

6110 Hand-Held Computer Technical Reference

Page 129

SECTION 6

Communications

" NOTE:

For a list of errors that may be displayed when attempting an NRInet session or a TFTP connection, see the 6110 Hand-Held Computer User’s Guide P/N: 961-054-102.

NRInet

NRInet is a protocol that performs a Norand file transfer session over TCP/IP Ethernet. It is supported by the Norand 6920 Communications Server. 1. Create a download include file, as described on page 4-4. Place it in the download directory of the 6920 Communications Server. 2. Optionally, configure a DHCP server to provide information required by the hand-held computer, including the IP addresses of the client, router, and subnet mask. Any information not provided by DHCP must be entered manually by the user on the hand-held computer. A DHCP server can also provide a domain name and IP addresses of domain name servers, which allows you to enter a host name rather than an IP address. If the SERVER_NAME field on the hand-held computer is left blank, a connection to the name “Norand6920” is attempted, as a default. Version 2.xx of the Norand Utilities program creates a NET.CFG file and a PCTCP.INI file on the RAM drive. The NET.CFG and PCTCP.INI files are not erased, so they may be used by applications. For a description of the contents of these files, see page 6-4.

TFTP

TFTP (Trivial File Transfer Protocol) is a standard TCP/IP protocol supported on many TCP/IP servers. 1. A TFTPD service must be running on a TCP/IP server. 2. Optionally, configure a DHCP server to provide information required by the hand-held computer (IP addresses of the client, router, and subnet mask). Any information not provided by DHCP must be entered manually by the user on the hand-held computer. A DHCP server can also provide a domain name and IP addresses of domain name servers, which allows the hand-held computer user to enter a server name rather than an IP address. If the SERVER NAME field on the hand-held computer is left blank, a connection is attempted to the name “NorandTftp” as a default. 3. Create a download list file, as described on page 4-4. Place it in the default working directory for the tftpd service. The list file must be named <workgroup>.BCF where <workgroup> is the value of the WORKGROUP field in the UNIT ID menu.

TTY

TTY is a Norand proprietary protocol supported by the 6920 Communications Server and 4920 Series Telecommunications Package. "

Create a 6920 or 4920 boot disk, as described in the preceding paragraphs for the NPCP Network.

6110 Hand-Held Computer Technical Reference

6-3

Page 130

Communications

SECTION 6

Norand Utilities From an Application The following paragraphs describe how an application can use the communications facilities of the Norand Utilities to perform data communications. PSROM0C.EXE is the primary program module that supports data communications between a Norand 6000 Series hand-held computer and a host computer. It supports the Norand two-way TTY, NPCP Local Area Network (LAN), and NRInet protocols. PSROB0C.EXE is not called directly by applications. It is called by PSROM0C.EXE. Use the following syntax on the command line: PSROM0C.EXE ctl-file where ctl-file is the name of a text file containing parameters that control the telecommunications session. Valid parameters are described in the following paragraphs. Parameters that are not applicable may be omitted. The return value from PSROM0C.EXE is a session status code. Values for this code are described on page 6-9.

System Setup Requirements To use PSROM0C.EXE, the file NRTCMERR.TBL must exist in the current working directory or in the PATH. When using PSROM0C.EXE Version 2.00 or later, if the application uses CardSoft device drivers to access PC Cards, it must reassign the drive letters A and B. For example: ASSIGN.COM

A:=E:

B:=F:

NPCP Load the program MININET.EXE to useNPCP. See page 4-14 for details.

TTY To use the TTY protocol., the NRTTYM.TBL file must exist in the current directory or in the PATH. NRTTYM.TBL is the modem table. For information about creating a customized modem table, see the PSMDM0C, DOS HHC MODEM TABLES product, P/N: 215-968-001. If the application uses NORMOD.SYS or NGENMOD.SYS to support PC Card modems but uses different command line settings than the default Norand Utilities configuration, the command line for the driver must include “–NMODEMn” where “n” is the COM port number used by the driver.

NRInet Using PSROM0C Version 3.xx To use the NRInet protocol version 3.xx, the PATH must include the directories of the following drivers: LSL.COM " ODIPKT.COM " RS485ODI.COM Optionally, configure a DHCP server to provide IP information required by the computer, such as the IP addresses of the client, server, router, and domain name servers. The NET.CFG and WATTCP.CFG files are overwritten by PSROM0C. "

6-4

6110 Hand-Held Computer Technical Reference

Page 131

Communications

SECTION 6

Some computers support two network interfaces for NRInet: Ethernet and RS-485. The network interface is selected in a menu in Norand Utilities during the IPL sequence. This setting is stored on the RAM drive so it is lost any time the RAM drive is removed or formatted. For example, applications that boot from a PC Card often format the RAM drive before installing the application. In these cases, return to the Norand Utilities menu to reselect the setting in order for NRInet sessions to work correctly.

NRInet Using PSROM0C Version 2.xx To use the NRInet protocol, the PATH must include the directories of the following drivers: "

BOOTP.EXE

"

LSL.COM

DHCP.EXE " ODIPKT.COM " ETHDRV.EXE " RS485ODI.COM " INET.EXE BOOTP.EXE and DHCP.EXE are required only if IP information is to be retrieved from a BOOTP server or a DHCP server as described below. PSROM0C.EXE executes BOOTP.EXE first. DHCP.EXE is executed only if BOOTP.EXE fails. "

The files NET.CFG and PCTCP.INI are required to load these drivers. NET.CFG must exist in the current working directory and must include the following, indented as shown: Link driver RS485ODI Frame Ethernet_II

PCTCP.INI must include: [pctcp ifcust 0] async-send = yes ip-address = nnn.nnn.nnn.nnn subnet-mask = nnn.nnn.nnn.nnn router = nnn.nnn.nnn.nnn [pctcp general] etc-dir = d:\tcp\etc domain = xxxxxxxx.com [pctcp addresses] domain-name-server = nnn.nnn.nnn.nnn [pctcp kernel] interface = ifcust 0

The “etc-dir” field must specify a directory that contains a SERVICES file. A minimal SERVICES file exists in the flash at d:\tcp\etc. For NRInet, SERVICES must contain a protocol entry for NRInet with a protocol type of “tcp”. For example: nrinet 44965/tcp #Norand Inet File Transfer

The fields “domain” and “domain-name-server” are not required if the host is specified by IP address rather than domain name. Also, the fields that specify IP addresses (nnn.nnn.nnn.nnn) and the “domain” field can be omitted if BOOTP.EXE or DHCP.EXE loads the information from a BOOTP server or a DHCP server. Set the environment variable PCTCP to the path of PCTCP.INI. For example, in AUTOEXEC.BAT: SET PCTCP=C:\PCTCP.INI

6110 Hand-Held Computer Technical Reference

6-5

Page 132

Communications

SECTION 6

Valid Control File Parameters

For all protocols: PROTOCOL, TRIES " For TTY: COM, CONFIG, DATABITS, MODEMSELECT, MODEMTYPE, PARITY, PHONE, SPEED, STOPBITS " For NPCP: COM, NPCPHOST " For NRInet: IPCLIENT, IPHOST, NETMASK, ROUTER The following is a list of control file parameters and their descriptions. "

COM=

The COM port to use for two-way TTY or NPCP communications. Default Values: 1 (COM1) = Two-way TTY 2 (COM2) = NPCP Example: COM=4

CONFIG=

Modem command string to configure a Hayes-compatible modem. Example: CONFIG=ATE0V0Q0X4&C1&D2&M0&RS0=0

DATABITS=

Valid only if two-way TTY protocol was specified. Valid values: 7, 8 Example: DATABITS=7

IPCLIENT=

Supported in PSROM0C V3.xx only. This is the IP address of the client computer. If this parameter is specified, the NETMASK parameter is also required. If this parameter is omitted, PSROM0C attempts to retrieve IP information from a DHCP server or a BOOTP server.

IPHOST=

This is the host IP address or domain name of the Ethernet host. The value can be at most 18 characters long. If this parameter specifies a domain name, the IPCLIENT parameter must be omitted because DHCP information about domain name servers is required to resolve the host name. For PSROM0c V3.xx, if IPHOST and IPCLIENT are both omitted, the host name is retrieved from DHCP if available. Otherwise, this parameter defaults to “Norand6920.”

MODEMSELECT= Valid only if two-way TTY protocol was specified. This is the modem ID of of a record in the modem table file NRTTYM.TBL. If this parameter is specified, the COM= and CONFIG= parameters may be omitted. The parameters MODEMSELECT= and MODEMTYPE= are mutually exclusive; therefore only one may be specified in a control file. Example: MODEMSELECT=30

6-6

6110 Hand-Held Computer Technical Reference

Page 133

Communications

SECTION 6

MODEMTYPE= Valid only if two-way TTY protocol was specified. It indicates the type of modem, if any, to which the hand-held computer is connected. The parameters MODEMSELECT= and MODEMTYPE= are mutually exclusive; therefore only one may be specified in a control file. Valid Values: 0 = No modem, such as direct connect (default) 1 = NORAND modem, or other Hayes-compatible modem

NETMASK=

NPCPHOST=

Example: MODEMTYPE=1 Supported in PSROM0C V3.xx only. This is the local subnet mask and is required if IPCLIENT is specified. Example: NETMASK=255.255.240.0 NPCP host name. Valid values: NORAND_HOST NORAND_SERVER

PARITY=

Valid only if two-way TTY protocol was specified. Valid values: 0 = None (default) 1 = Odd 2 = Even

PHONE=

PROTOCOL=

Example: PARITY=2 Dials a Hayes-compatible modem. This value can be at most 20 characters long. Example: PHONE=ATDT3693361 Indicates the protocol to be used: " 3 = TTY " 4 = NPCP (LAN) " 14 = NRInet Example: PROTOCOL=3

ROUTER=

Supported in PSROM0C V3.xx only. This is the router IP address.

SPEED=

TCOM speed for two-way TTY. Valid only if two-way TTY protocol was specified. Valid values: 1200, 2400, 9600, 19200, 38400, 57600, or 115200.

STOPBITS=

Example: SPEED=2400 Valid only if two-way TTY protocol was specified. Valid values: 1 = One stop bit 2 = Two stop bits 3 = 1 1/2 stop bits Example: STOPBITS=1 6110 Hand-Held Computer Technical Reference

6-7

Page 134

Communications

SECTION 6

TRIES=

Specifies the number of times to attempt a successful communication session. If TRIES is exhausted before a session is successful, PSROM0C.EXE returns the error of the last session. A parameter value of zero indicates that the retry is to continue until a session is successful or the user aborts.

EXAMPLE:

Example Control File for NPCP PROTOCOL=4

EXAMPLE:

Example Control File for NRInet PROTOCOL=14 IPHOST=nnn.nnn.nnn.nnn

EXAMPLE:

Example Control File for TTY PROTOCOL=3 COM=1 SPEED=9600 PARITY=0 DATABITS=8 STOPBITS=1

Upload Control File Parameters FILE=

Information about files to be transferred must be contained in a NRUPLD.CTL file. Valid parameters for this file are described in the following paragraphs. Name of upload file, uploaded according to the preceding header information. Multiple FILE parameters may follow a single HEADER parameter, if the header applies to all the specified files.

FORMAT=

Example: FILE=BYPRD.DAT Defines the format of variable-length records whose record types match the preceding RECTYPE parameter. The format of a record consists of the data type (“t”) and length of each field within the record (“nnn”), specified as follows: FORMAT=tnnntnnn . . .

The field length is right-justified and zero-padded. Although the Norand file transfer protocol supports a number of data types, many of these are specific to the PL/N language from Intermec Technologies Corporation. For the sake of simplicity, just specify a data type of X (for character) and the record length, which does not include the record type character. If you need more information on PL/N file formats, see the host TCOM manual.

HEADER=

Example: FORMAT=X020 FORMAT=N012X016N004 Precedes the files subsequently specified in FILE parameters. This header record provides the host information on data formatting. If the HEADER parameter is omitted or blank, the files subsequently specified are transferred as is; that is, no header precedes the file. Any header information is assumed to be embedded in the file itself. When you specify the binary file descriptor (DOSFIL), you do not need to completely specify the header. If the size is not specified or is zero, the entire file is uploaded, and the actual size is inserted into the header that is uploaded to the host. If the file name is not specified, the file name specified in the FILE parameter is inserted into the header that is uploaded to the host. Example: HEADER=<DBYPRD 00000x040>

6-8

6110 Hand-Held Computer Technical Reference