The text of a manual · part 12 of 15
VRC 6940 Product Reference Guide: Appendix B Software Environment
Pages 82 to 89 of 116, from VRC 6940 Product Reference Guide
The original document is the PDF (1.3 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 Symbol VRC-6940
Page 82
Appendix B Software Environment This section describes the software environment for a VRC 6940 terminal. A VRC 6940 has four drives as described in Table B-1: Table B-1. VRC 6940 Drives Drive
Size
Type
Contents
A:\
256 Kb
Flash, EPROM
This drive contains: • BIOS, including the Command Mode menus and commands and Self-Test software • Essential system drivers • DOS
B:\
256 Kb
Flash, EEPROM
This drive is the main space for user applications. For the first installation, it contains theLWP hex image. The first time you boot a terminal,LWP copies utilities and applications onto the E:\ drive. When you load user applications onto the terminal, they overwrite LWP, but the utilities and applications stay on the E:\ drive. See Chapter 4 for information on loading applications into this space.
D:\
160 Kb
RAM
This drive contains the net.cfg file and user space. Commands in the b:\autoexec.bat file can write files to this disk. The default size is 160 Kb, but this size can be changed by b:\init.exe. For information on setting the D drive size, see Chapter 5 of the Series 3000 Application Programmer’s Guide (p/n 70-16308-XX).
B-1
Page 83
VRC 6940 Product Reference Guide
Table B-1. VRC 6940 Drives Drive E:
Size 1MB
Type Flash
Contents This drive is normally read-only, although it can be controlled by application programming on drive B. The LWP hex image copies these utilities into this space: • BOOTP • CFG24 • DIAG24 • FLASH.BAT
Boot Sequence The first time a new terminal powers up: 1. A:\config.sys loads drivers. 2. A:\autoexec.bat calls and runs B:\autoexec.bat. 3. B:\autoexec.bat loads the application files contained in the LWP.HEX file by decompressing them into an application subdirectory on E:\ (see LAN WorkPlace (LWP) Software on page B-3). 4. A second batch file displays a menu with terminal configuration options. 5. A third batch file loads the protocol stack to enable application-to-host connections. If the terminal boots and the Spectrum24 radio card has no parameters, the terminal runs the CFG24 software so that you can configure the radio card. Chapter 3 describes how to configure the radio card. If the Spectrum24 radio card has parameters, the terminal tries to connect to anAP. If it can connect, the terminal starts a session and continues to boot normally. If it can’t find an AP, the screen displays a NOT ASSOCIATED message, and a DOS prompt appears. At this point you can run the DIAG24 ping utility (see page 6-5). After you have started the terminal, and LWP.HEX has installed the utility files into their appropriate directories, you can install end-user applications onto the terminal. When you transfer a new HEX image onto the terminal, it overwrites the LWP.HEX image. The Program Loader then installs the new HEX image by converting the ASCII data stream into files to be stored in non-volatile flash memory on the B:\ drive.
B-2
Page 84
Software Environment
LAN WorkPlace (LWP) Software All VRC 6940 terminals have a copy of LWP.HEX loaded at the factory. The first time you start the terminal, it installs the utilities listed below onto the E:\drive. CFG24
The CFG24 Configurator utility that allows you to configure the Spectrum24 radio. You can run it from a DOS prompt. See page A-12 for more information.
DIAG24
The DIAG24 Diagnostics utility that allows you to run Access Point ping tests. You can run it from a DOS prompt. See page A-5 for more information.
BOOTP
BOOTP boot utility. It requests and receives an IP address and then sets up communications parameters for use by other parts of the system. It executes automatically during start-up procedures. Do not run it from a DOS prompt. See page A-17 for more information on configuring boot mode.
FLASH
A batch file that provides some flash disk housekeeping functions. You can run it from a DOS prompt. See page A-21 for more information.
Software Files Table B-2 shows the contents of each drive after the LWP hex image is loaded on E:\ drive: Table B-2. VRC 6940: Software Files Directory A:\
File Name
Description
LOADER.EXE
An NVM loader utility that can be used in place of the Command Mode Program Loader. For more information, see the Series 3000 Application Programmer’s Reference Manual (p/n 70-16309-XX).
SHELL.COM
The DOS command shell.
AUTOEXEC.BAT
Calls B:\autoexec.bat, if it exists, and executes it. If there is no B:\ drive, the terminal boots into Command Mode.
DSKBCHK.COM
Checks to see if the terminal has been configured with a B:\ drive. For more information, see the Series 3000 Application Programmer’s Reference Manual (p/n 7016309-XX).
B-3
Page 85
VRC 6940 Product Reference Guide
Table B-2. VRC 6940: Software Files Directory A:\ (cont’d)
B:\
D:\
E:\
B-4
File Name
Description
2WAY3000.SYS
A Series 3000 Protocol Device Driver. For more information, see the Series 3000 System Software Manual (p/n 70-16310-XX).
S1.BIN
A Spectrum One radio driver.
CONFIG.SYS
A configuration file that loads essential drivers and files. It loads A:\shell.com
COMMAND.COM
A command batch file.
AUTOEXEC.BAT
Loads the application files contained in the LWP.HEX file by decompressing them into an application subdirectory on E:\ drive.
ERR3000.SYS
An error message driver.
PKUNZJR.COM
An unzip utility.
FLASHDSK.SYS
The flash disk driver.
FLSHCTL.EXE
Switches the flash disk between read-write and readonly modes.
FLSHFMT.EXE
A utility used to format the flash disk.
NET.CFG
The Spectrum24 configuration file. This file is configured by the CFG24 Configurator utility.
_AP.BAT
Built by FLSHAUTO.BAT for use in the warm boot process.
NET.CFG
Configuration file used by LSL.COM, SLAODI3K.COM, and TCPIP.EXE to get configuration parameters.
FLSHAUTO.BAT
Initialization batch file. Loads the radio driver and the TCP/IP stack.
FLSHAUT1.BAT
Builds the _AP.bat file for use.
MSG.MSG
File used by the DIAG24 Ping utility.
Page 86
Software Environment
Table B-2. VRC 6940: Software Files Directory E:\ (cont’d)
File Name
Description
APPINIT.COM
Scans the flash disk for valid applications. If it finds more than one, it displays an application selection menu. A valid RF application has a home directory in the flash disk’s root directory containing a file called RUN.BAT. This is how the system knows which applications are present, and which are batch applications.
CBT.COM
Utility to re-initialize (cold boot) the terminal.
WBT.COM
Utility to re-initialize (warm boot) the application.
WAIT.EXE
A command used in batch files to pause the display for a specified number of seconds. The pause can be interrupted with the CTRL-FUNC-1 key sequence. If interrupted, the command returns an errorlevel 1.
GETSTR.EXE
Prompts for keyboard input, which is placed as a character string in the environment variable _STR. Used to customize utility files for building an application HEX during developer kit installation.
LSL.COM
Novell’s Netware Link Support Layer software. Used to access the physical network, in this case a PCMCIA radio card.
DIAG24.EXE
A diagnostic ping utility for diagnosing possible radio problems. See page A-5 for more information.
CFG24.EXE
A utility for configuring Spectrum24 radio parameters. See page A-12 for more information.
BOOTP
A utility that requests and receives an IP address and sets up communications parameters for use by other parts of the system. It runs automatically during startup. Do not run it from a DOS prompt.
TCPIP.EXE
Novell’s Lan Workplace stack version 5.0.
PIPCT.EXE
Used to save and restore part of the BIOS work area overwritten when TCPIP.EXE is loaded.
SS.BAT
Batch file to run DIAG24 for site survey purposes.
B-5
Page 87
VRC 6940 Product Reference Guide
Table B-2. VRC 6940: Software Files Directory E:\ (cont’d)
B-6
File Name
Description
TDREM.EXE
Remote end of serial link used to transfer files to and from a terminal. Used mainly during development but also a useful diagnostic tool.
FLASH.BAT
A flash utility for copying, renaming or deleting files from flash memory. Useful in development for transferring single files to flash disk. See page A-21 for more information.
RAMINIT.EXE
Copies _AP.BAT to new RAM disk. The _AP.BAT is saved by a previous RAMCHG. The _AP.BAT must be smaller than 120 bytes.
RAMCHG.EXE
Changes the RAM disk size and warm boots the terminal. RAMCHGnn changes the RAM disk to nnKBytes.
RF_VER.COM
Radio utility file.
RFOFF.COM
Used for batch application to unconditionally turn off the radio adapter to conserve battery life.
UPD802 (sub-directory)
Stores files to update radio to become 802.11 compatible.
TFTPC.COM
Encapsulation for TFTP.EXE to allow trapping of error messages. This allows the re-trying of a file transfer if an error is found.
TFTP.EXE
Trivial File Transfer Protocol software.
TFTP.MSG
TFTP message file.
LWP.MSG
TCP/IP message file.
BGET.BAT
Batch file for doing TFTP file transfers from a server to the flash disk. If the file already exists on the current directory on the flash disk (normally the current application’s home directory), the file is not transferred. BGET.BAT calls FGET.BAT to perform the actual transfer.
Page 88
Software Environment
Table B-2. VRC 6940: Software Files Directory E:\ (cont’d)
File Name
Description
FGET.BAT
Batch file for doing TFTP file transfers from a server to the flash disk. If the transfer fails it is retried. The server IP address is picked up from the environment variable SIADDR, which is set up by BOOTP.COM if either a BOOTP or DHCP process is performed.
UPDATE.BAT
Batch file used for an over-the-air software update facility. It downloads a ZIP file and unzips it into the application directory. The ZIP file is the same file that was placed in the application HEX.
CHK_ID.EXE
Checks to see if the ident.txt files on the paths specified in the command-line are identical. Used in apphex.bat to check for the need to copy the application files to the flash disk.
GETNUM.EXE
Returns an errorlevel depending on a single key hit. Returns errorlevel n if the numeric key ‘n’ is pressed. All other keys return errorlevel 99. Used to make menu selections in batch files.
IDENT.TXT
Used to identify a particular HEX build.
SLAODI3K.COM
Wireless LAN adapter driver.
APP (sub-directory)
Applications stored in this directory.
B-7
Page 89
VRC 6940 Product Reference Guide
B-8