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 13 of 21

CN30 Mobile Computer User's Manual: Chapter 3 - Configuring the CN30 Computer, pages 117 to 126

Pages 117 to 126 of 196, from CN30 Mobile Computer User's Manual

The original document is the PDF (5.8 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 CN30 Portable Computer

Page 117

Chapter 3, Configuring the CN30

The return code from the process uses the standard error codes defined in WINERROR.H. Example: ; use AutoCopy to copy the control panel from flash file store to windows. autocopy.exe -S"\Flash File Store\System\Audio.cpl" -D"\Windows\Audio.cpl" ; use AutoCopy to move the control panel from flash file store to windows. autocopy.exe -M1 -S"\Flash File Store\System\Audio.cpl" -D"\Windows\Audio.cpl"

AutoReg The AutoReg (AUTOREG.EXE) component adds registry information to the Windows Mobile registry. It has no user interface and is configured through command line arguments. Usage: AutoReg [-D] [-HKey] [-Q] “filename” -D

Deletes the registry file after successfully loading it. This allows for systems that have hives implemented.

-H

Saves the registry path, and all child entries, to the specific .REG registry file.

-Q

Indicates whether a message box should appear when a fatal error occurs.

filename

Fully qualified file name to read from or write to, encased in double quotes to support spaces in paths or file names. See examples below.

The return code from the process uses the standard error codes defined in WINERROR.H. Example: ; use AutoReg to install this registry information. autoreg.exe "\Flash File Store\install.reg" ; use AutoReg to install this registry information. Delete the file afterwards. autoreg.exe -D "\Flash File Store\install.reg" ; use AutoReg to extract registry information to a file. autoreg.exe -HHKEY_LOCAL_MACHINE\Software\Intermec\Version "\version.reg"

The format of the input file, in this example, is the standard registry format which should ease the creation of the input file since there are many publicly available utilities to generate a registry file besides Notepad. One example of a tool is the Microsoft Remote Registry Editor.

AutoCab AutoCab (AUTOCAB.EXE) extracts files, registry settings, and shortcuts from Windows Mobile cabinet (.CAB) files. The Windows Mobile startup sequence invokes AutoCab as a part of AutoExec and AutoRun. During the Windows Mobile startup sequence, AutoCab processes all CAB files in the “\CabFiles” directory relative to the current location of Autocab, unless the location is overridden by command line arguments. AutoCab can run as a stand-alone program to install a CAB file or a directory of CAB files.

CN30 Mobile Computer User’s Manual

105

Page 118

Chapter 3, Configuring the CN30

AutoCab only installs the CAB file if it was not installed before by AutoCab. To track the installation of a CAB file, AutoCab marks the CAB file with the System attribute. This attribute is ignored if the device is performing a cold-boot on a non-persistent file system. AutoCab preserves the CAB file after installation if the ReadOnly attribute is set. If not set, the CAB file is deleted automatically after installation. Usage: AutoCab [-ChkRst=][-File=][-Force][-Log=][-Move=][-Quiet=][-Show=][-Signal=]

Command line switches are described below. -ChkRst=

Set to 1 to configure AutoCab to check for the Reset flag after all CAB files are installed. This file is created by CAB files that want a warm reset after installation. Default is 0 (do not check for flag).

-File=

Specifies the CAB files to extract. Note that the specified files need not end with the .CAB extension.

-Force

Forces the specified CAB files to extract regardless of whether it was previously extracted.

-Log=

Set to 1 to create a log file in the same folder that AutoCab is running. Useful for debugging CAB installation. Default is 0 (disabled).

-Move=

Set to 1 to force source CAB file deletion, even when read-only bit set on file. Default is 0 (disabled).

-Quiet=

Set to 0 to allow AutoCab to display user message box on errors. Useful for debugging CAB installation. Default is 1 (keep quiet).

-Show=

Set to 0 to prevent showing any installation progress interfaces. Also prevents user from canceling installation. Set to 1 to show normal installation. Set to 2 to show Intermec installation progress interface (user can see what is installing but cannot cancel it). Default is 1 (show normal).

-Signal=

Set to string name of signal to use at the completion of CAB installation before a reboot occurs (if enabled). AutoCab uses WaitForSingleObject on this name. Default is disabled.

If <PathName> references a single CAB file, that file is processed. If <PathName> references a directory, all the .CAB files in that directory is processed. If <PathName> is a wild card pattern, all files matching that pattern is processed, If <PathName> is omitted, InstallCab processes all the .CAB files in directory “\CabFiles.” Example: ; Install all cab files in the \Flash File Store\XYZ directory, regardless. AutoCab -FILE="\Flash File Store\XYZ\*.cab" -FORCE ; Install only one cab file, use Intermec cab installation display AutoCab -FILE=”\myCab\app.cab” =show=2

Customizing How Applications Load on the CN30 Computer If you have several processes that you need running in a specific order as the CN30 Computer turns on, you can use the AutoRun system to customize the way applications load. For compatibility with other Intermec computers, you can place a copy of AUTORUN.EXE in the same folder as your AUTORUN.DAT file but it is not required.

106

CN30 Mobile Computer User’s Manual

Page 119

Chapter 3, Configuring the CN30

To create and install the AUTORUN.DAT file on your CN30 Computer 1 On the CN30 Computer, create a folder called “SYSTEM.” 2 On your desktop, open the Notepad application. 3 Write commands for AUTORUN.DAT using these supported script commands: Script Command

Description

EXEC

Launches a specified program and waits up to 10 minutes for it to complete.

CALL

Processes a specified file of commands, returns. When you use the CALL command, the execution of the current file pauses while a new file that follows the same set of commands executes. Once the new file completes executing, AutoRun.exe processes the current file.

CHAIN

Processes a specified file of commands and does not return. This command calls another file that follows the same set of commands and stops processing the current file.

RUN

Loads a specified program and executes it. Specifies the show window attribute so that the user interface is visible when the application launches.

LOAD

Loads a specified program and executes it. Specifies the hide window attribute so the user interface is hidden initially.

4 Save this Notepad file as AUTORUN.DAT. 5 Copy the AUTORUN.DAT file to the “\SYSTEM” folder on your CN30 Computer. During every boot, the system scans for AUTORUN.DAT in the “\SYSTEM” folder. Here is a sample AUTORUN.DAT file that runs a dialer application and connects to a VPN: EXEC “\Program Files\My Dialer\Dialer.exe” 348-2600 EXEC “\Program Files\My VPN\Connect.exe” MyDomain

Configuring CN30 Parameters You can configure many parameters on the CN30 Computer, such as the bar code symbologies it decodes or the network settings. These characteristics are controlled by configuration parameters. The values you set for these configuration parameters determine how the computer operates. Use configuration commands to configure the CN30 Computer.

CN30 Mobile Computer User’s Manual

107

Page 120

Chapter 3, Configuring the CN30

Configuring with the Setup Assistant When first setting up the CN30 Computer, use the Setup Assistant to set or enable basic network parameters and connect your CN30 Computer to the network. The Setup Assistant guides you through setting the following basic network parameters: date and time (including time zone), SSID (Network name), DHCP server or IP address, subnet mask, and default router, primary and secondary DNS or WINS addresses, and device name. To set other parameters, use another configuration method. The Setup Assistant runs on the CN30 Computer when you turn on the computer. After the Setup Assistant is complete, the CN30 Computer should communicate with the network. A network connection icon appears in the taskbar.

Configuring the CN30 Computer With Intermec Settings Use the Intermec Settings applet to configure the CN30 Computer and view system information. You can access the Intermec Settings applet while running any application. From the CN30 desktop, select Start > Settings > the System tab > the Intermec Settings icon.

For detailed information on most of the commands available in the Intermec Settings applet, see the Intermec Computer Command Reference Manual (P/N 073529) via the Intermec web site. Go to “Before You Begin” for access information.

Synchronizing the CN30 Computer System Time with a Time Server It is important that the time on all of your CN30 Computers be synchronized with a network time server to ensure real-time communications and updates. Network time servers acquire Coordinated Universal Time (UTC) from an outside source such as the U.S. Naval Observatory (USNO). The CN30 Computer uses Simple Network Time Protocol (SNTP) to synchronize with a network time server.

108

CN30 Mobile Computer User’s Manual

Page 121

Chapter 3, Configuring the CN30

The default reference time server is the USNO (tock.usno.navy.mil). To synchronize the time on your CN30 with this time server, you must have a valid connection to the Internet. You can also synchronize the CN30 Computer system time with a corporate network server within your firewall that is SNTP-capable. To use an internal corporate network server, you need to set the command name in the registry.

Configuring the CN30 Computer through the Network You can change the configuration parameters of the CN30 Computer by sending commands through a host computer or through the network. If you are using a network, you can configure one or more CN30 Computers at a time. You can remotely configure the wireless or Ethernet CN30 Computer by sending a command from an application on the host computer. Note that you cannot set all parameters through the network. You can only set those commands that have a syntax in the Command Reference Manual. Note: You can continue running an application on the CN30 Computer while configuring it from the host computer.

Configuring the CN30 Computer in a TCP/IP Direct Connect Network You can use the host computer to configure a wireless or Ethernet CN30 Computer in your TCP/IP network. To send and receive configuration data, you need to write a host application that can communicate with the CN30 Computer directly through an access point or through the Ethernet network. Use the TMF protocol to send and receive transactions between the host application and the CN30 Computer. To set up the host computer, verify that you can communicate with the CN30 Computer. To set up the application, prepare and write a host application that can communicate with the Intermec Application Server and send transactions to and receive transactions from the CN30 Computer in this format: TMF field commands where: TMF field commands

A 2-byte field containing one of these values: CG

Configuration Get request sent from the host application.

Cg

Configuration Get response sent from the CN30 Computer to the host computer.

CS

Configuration Set request sent from the host application.

Cs

Configuration Set response sent from the CN30 Computer to the host computer.

The reader and configuration commands to set on the CN30 Computer or the current value to retrieve from the CN30 Computer. To save configuration changes in flash memory, send the .+1 reader command as the last command. See the Command Reference Manual for a list of commands.

CN30 Mobile Computer User’s Manual

109

Page 122

Chapter 3, Configuring the CN30

Example In the host application, you want to get the current values of two configuration commands from the CN30 Computer. Send the CG$+NABV transaction from the host application Note: The transaction header is not shown in this example. You do not need a transaction header for a host application in a TCP/IP network, but you do for a UDP Plus network. where: CG is a TMF Configuration Get request.

$+ is the Change Configuration reader command.

BV is the Beeper Volume configuration command.

The CN30 returns the CgS+BV4 transaction to the host application, where: Cg is a TMF Configuration Get response.

$+ is the Change Configuration reader command.

BV4 means the Beeper Volume configuration command is currently set to a value of 4, which is a very high beeper volume.

Configuring the CN30 Computer in a UDP Plus Network You can use the host computer to configure a CN30 Computer in your wireless or Ethernet network. To send and receive configuration data or files, you need to write a host application that can communicate with an Intermec Application Server (formerly Gateway or DCS 30X). For help, see the appropriate Gateway or DCS 30X User’s Manual. Use the Terminal Message Format (TMF) protocol to send and receive transactions between the host application and the CN30 Computer. To set up the Intermec Application Server, configure a peer-to-peer destination name for the host application. Create a transaction ID, $NGCFGRSP, that routes to this destination name. The Intermec Application Server uses the transaction ID to route responses from the CN30 Computer back to the host application. $NGCFGRSP is a special transaction ID that the server uses to forward configuration response data from a CN30. All configuration responses are routed with the $NGCFGRSP transaction ID. The Intermec Application Server cannot track multiple applications sending reader or configuration commands. If you have two host applications sending reader or configuration commands, they must both be configured to receive the $NGCFGRSP transactions, and therefore both receive all responses from all CN30 Computers. To set up the host computer, verify that the host computer can communicate with the Intermec Application Server.

110

CN30 Mobile Computer User’s Manual

Page 123

Chapter 3, Configuring the CN30

To set up the application, prepare and write a host application that can communicate with the Intermec Application Server and send transactions to and receive transactions from the CN30 Computer in this format. For an example of the host application transaction, see page 110. transaction header

TMF field commands where: transaction header

A 96-byte field with message number, date, time, source application ID, destinations application ID, transaction ID, and other information. Set the system message (SYS$MSG) flag to E in the transaction header.

TMF field

A 2-byte field containing one of these values:

commands

CG

Configuration Get request sent from the host application.

Cg

Configuration Get response sent from the CN30 Computer to the host computer.

CS

Configuration Set request sent from the host application.

Cs

Configuration Set response sent from CN30 to host computer

The reader and configuration commands to set on the CN30 Computer or the current value to retrieve from the CN30 Computer. To save configuration changes in flash memory, send the .+1 reader command as the last command. See the Command Reference Manual for a list of supported commands.

Configuring the CN30 Computer for Your Network The CN30 Computer is a versatile handheld computer that you can add to your wired or wireless data collection network. You can connect your CN30 Computer to your network using any of these communications: serial, 802.11b/g radio, Ethernet, or Bluetootht radio.

Configuring Serial Communications The CN30 Computer has a serial port to transfer data to and receive data from another device via RS-232 communications. You can also insert the CN30 Computer into a communications dock to transmit data to and receive data from a host computer or PC using RS-232 communications. The serial cable and the communications dock are sold separately. For more information, see “Accessories for the CN60 Computer” on page 25. To use serial communications with your CN30 Computer, connect the CN30 Computer to the serial port of another device, by: • connecting the CN30 Serial Port to the serial port of the other device using the 26-pin to DB9-pin serial cable adapter and a female-to-female null modem RS-232 cable; • connecting the CN30 Dock to the serial port of the other device using a DB9-pin to DB9-pin serial adapter cable, then insert the CN30 Computer into the dock; or

CN30 Mobile Computer User’s Manual

111

Page 124

Chapter 3, Configuring the CN30

• connecting a USB cable between the USB connector in the back of the CN30 Dock and your desktop computer.

Configuring 802.11b/g Radio Communications Make sure all components with antennas are at least 30 cm (1 ft) aport when power is applied. Failure to comply could result in equipment damage. Attention: Assurez-vous que la distance entre tous les éléments avec antennes soit d’au moins 30 centimètres (un pied) avant de faire la connexion avec l’alimentation électrique, faute de quoi vous risquez d’endommager votre installation. The wireless CN30 Computer has an internal 802.11b/g radio to transfer data using wireless communications. This section of the manual assumes that you have already set up your wireless communications network including your access points. If you are using a UDP Plus network, you also need to have your Intermec Application Server communicating with a host computer. Your CN30 Computer supports TCP/IP and UDP Plus network protocols. The next sections explain the parameters you need to configure for the CN30 Computer to work in your wireless network.

Configuring the Network Parameters for a TCP/IP Network In a TCP/IP network, the CN30 Computer communicates with a host computer directly using TCP/IP. The access point acts as a bridge to allow communications between the wired network and the wireless network. To use wireless communications in a TCP/IP network, configure the Network Name (SSID), Host IP Address, IP Settings (if not using DHCP), and Network Port parameters on each CN30 Computer in the network.

Configuring the Network Parameters for a UDP Plus Network In a UDP Plus network, the CN30 Computer communications with a host computer through the Intermec Application Server. The Intermec Application Server translates UDP Plus packets on the wireless network into TCP/IP packets on the wired network and vice versa. The access point acts as a bridge to allow communications between the wired network and the wireless network. To use wireless communications in a UDP Plus network, configure the Network Name (SSID), Controller IP Address, IP Settings (if not using DHCP), and Network Port parameters on each CN30 in the network. The easiest way to configure the network parameters on the CN30 Computer is to use the Intermec Settings applet. For help, see “Configuring the CN30 Computer With Intermec Settings” on page 108.

112

CN30 Mobile Computer User’s Manual

Page 125

Chapter 3, Configuring the CN30

Configuring Bluetooth Radio Communications “Bluetooth” is the name given to a technology standard using short-range radio links, intended to replace the cables connecting portable and fixed electronic devices. The standard defines a uniform structure for a wide range of devices to communicate with each other, with minimal user effort. Its key features are robustness, low complexity, low power, and low cost. The technology also offers wireless access to LANs, the mobile phone network, and the internet for a host of home appliances and portable handheld interfaces.

Documentation Information about other Bluetooth software is in the Bluetooth Resource Kit and the Wireless Printing Development Guide in the Intermec Developer Library, which is available as a download from the Intermec web site via www.intermec.com. Contact your Intermec representative for information.

About the Application Bluetooth is not started automatically by default after a cold-boot is performed. To run Bluetooth, tap Start > Settings > the Connections tab > the Bluetooth icon. The CN30 Computer retains the Bluetooth state when either warm-boots or cold-boots are performed, for example: • If Bluetooth is enabled, and either a warm-boot or a cold-boot was performed, the CN30 Computer boots up with the Bluetooth state enabled and Bluetooth virtual COM ports (such as printing) registered. However, you must reactivate connections, as the system does not do these automatically.

CN30 Mobile Computer User’s Manual

113

Page 126

Chapter 3, Configuring the CN30

• If Bluetooth is disabled, and either a warm-boot or a cold-boot was performed, the CN30 Computer boots up with Bluetooth disabled. Do the following to turn on Bluetooth: Select Start > Settings > the Connections tab > the Bluetooth icon > the Mode tab. Check Turn on Bluetooth, check Make this device discoverable to other devices, then click ok to apply this change.

Devices Use this tab to scan for other Bluetooth devices. 1 Tap New Partnership to discover (or scan) for remote Bluetooth devices.

114

CN30 Mobile Computer User’s Manual