The text of a manual · part 15 of 18
6950 Enterprise Gateway Server User's Guide, pages 113 to 121
Pages 113 to 121 of 144: Section 9: Updating the 6950 EGS Software; Section 10: Host Application Program
The original document is the PDF (617 KB). 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 Norand 6950 EGS
Page 113
Section 9
Updating the 6950 EGS Software "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
From time to time we release updates to the 6950 EGS software. To update the 6950 EGS, you use an update kit and an external disk drive attached to the 25Ćpin port marked Only." The update kit is a chargeable item. You may order disks as part of your software maintenance agreement. Or, you may order a separate kit with disks and an optional external disk drive for an additional cost. Without a software maintenance agreement, you may also order a kit at a higher cost. Contact your representative for details. Before you update, record your current network and wireless settings. To display your current network settings: 1. At the System Menu, press (Config). 2. At the Config Menu, press (IP). 3. At the IP Menu, press (View). You must have the information to restore the configuration after the update. Section 5 has a place to record it. To display your current wireless settings: 1. At the System Menu, press (Config). 2. At the Config Menu, press (RF Comm).
6950 Enterprise Gateway Server User’s Guide
9-1
Page 114
Updating the 6950 EGS Software
SECTION 9
To update the 6950 EGS software: 1. Turn the 6950 EGS off. 2. Plug the external disk drive into the port marked Only." 3. Insert disk 1 into the disk drive. 4. Power the 6950 EGS on. 5. Follow the screens' prompts or the instructions provided with the upgrade kit. 6. Reconfigure the 6950 EGS. You can complete the configuration through a telnet session to the 6950 EGS. The Ethernet connection for this purpose must be Ethernet 2.0. For initial configuration, you need the addresses set at the factory: Default IP address: Subnet mask: Network address:
198.70.37.28 255.255.255.0 198.70.37.0
All wireless devices must be enabled to pass the following DIX 2.0 Ethernet frame types: " " "
875a 875b 875c
Network devices must also pass multicast frames. Monitor the 6950 EGS with debug level=0 to check if others have been added.
9-2
6950 Enterprise Gateway Server User’s Guide
Page 115
Section 10
Host Application Program "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
While the 6950 EGS provides twoĆway message services for the wireless network, it does not generate the messages. These come from a host program running independently of the 6950 EGS. In fact, the host application runs on a separate physical host. This section has some general information for communicating to the wireless stations and specific directions for using internet sockets.
General The 6950 EGS supports these communication methods: VT220 " TNVT " TN3270 " TN5250 R Native Sockets " NORAND The telnet terminal emulation methods use standard host programming for these emulation types. Application developers need to consider factors such as screen size in developing applications. "
6950 Enterprise Gateway Server User’s Guide
10-1
Page 116
Host Application Program
SECTION 10
NORAND Native is a simple command language for controlling wireless stations from a host application. Native Sockets let a host computer running a Native application communicate to Native wireless stations through the 6950 EGS via a TCP/IP socket connection. Native Sockets support is included in the 6950 EGS version 6.04 and greater. The remainder of this section explains Native Sockets programming.
Native Sockets Overview Supported Products The 6950 EGS supports Native Sockets applications for 1100, 1700, 5055, 5900, 6400, and 6550 terminals, using INTERMECR 2100 UAPs or 6710 Access Points. It supports synthesized UHF, 2.4 GHz OpenAir, and 900 MHz radio technologies. The 6950 EGS does not support Native Sockets for crystal UHF and 900 MHz SST systems that use RC4000 Series Base Stations or RC3250 Network Controllers.
Communication Basics You can write Native Sockets programs for any host PC or workstation supporting Ethernet and TCP/IP. Initiate communication between the host and the 6950 EGS by configuring both with a common port number (see later in this section). The 6950 EGS uses this designated TCP port number to communicate with the host.
10-2
6950 Enterprise Gateway Server User’s Guide
Page 117
SECTION 10
Host Application Program
You must to meet two requirements to set up communication: 1. Configure wireless stations and 6950 EGS with a common host name. This defines wireless stations to 6950 EGS communication sessions. 2. Configure each wireless station for Native emulation and assign it a unique wireless station number. As each wireless station powers on, the host application opens a unique socket between the 6950 EGS and the host for the wireless station. The 6950 EGS keeps an internal table mapping wireless stations to socket numbers. However, wireless station numbers are not available to the application. It must use socket numbers to identify each wireless station session. Sockets remain open until the host application closes the session (see Reset command), or someone powers the wireless station off then on again, initiating a new session.
Host Programming Software developers must be familiar with sockets programming to use the Native Sockets capability. We do not provide programming support for internet stream sockets. A good reference on sockets programming is UNIX Network Programming by W. Richard Stevens, ISBN 0-13-94876-1.
6950 Enterprise Gateway Server User’s Guide
10-3
Page 118
Host Application Program
SECTION 10
Coding the Application See the Native Terminal Emulation Asynchronous Programmer's Reference Guide (hereafter called the programmer's guide) listed in Section 1 for details about Native Command Syntax. The 6950 EGS supports wireless station commands in the guide, but does not support the controller commands. The application reads and writes directly to the wireless stations through the 6950 EGS. The Native protocol was originally written for early model INTERMEC controllers that supported serial host communications. Addition of the sockets communication capabilities to the 6950 EGS required use of a modified Native Syntax. A cross reference is provided in the table that follows. Letter conventions are excerpted from the programmer's guide. All commands are terminated with a carriage return <cr>. The 6950 EGS implementation maintains the 200 character maximum message length limitation documented in the guide. Table 10-1 Abbreviated Commands Command Set Control Parameters Write Terminal Audio Write Terminal Data *
6950 EGS Native Syntax
Original Syntax eDo/c StDo/c Bd WtBd D/ WtD/ D/\ WtD/\ Reset Terminal g Gt Get Terminal Version V DtV Echo Back not supported DtE/ * All and Command Extensions are supported except Send Multiple Write Displays,
10-4
6950 Enterprise Gateway Server User’s Guide
Page 119
SECTION 10
Host Application Program
Response Formats The programmer's guide lists response formats for each command. However, with Native Sockets the wireless station numbers are not returned in the response string. For example, a keyboard response to a command is not in the form A response with data from a bar code scanner is See the command in the programmer's guide for description of the parameters.
Error Messages The Native command syntax is processed partly by the 6950 EGS and partly by the wireless station. For example the Write Display command has an options list and message content in the form The 6950 EGS processes content preceding the forward slash while the wireless station processes content following the slash. Error responses from the 6950 EGS take the form where is a numeric error code ranging from 1 to 11. Table 10-2 Write Display Error Codes Code
Error
1 4 5
Syntax error Message plus commend exceeds 200 character limit Message plus command sent to disabled wireless station Gap error (timeout between start of message and carriage return) Data check error No more buffers available Sequence error
6 8 10 11
6950 Enterprise Gateway Server User’s Guide
10-5
Page 120
Host Application Program
SECTION 10
The wireless station's error responses depend on the specific command. See the programmer's guide for the specific command that produced the error.
Normal Communication Each wireless station is identified by its number and a separate host session is initiated for communication with it. This works regardless of the operating mode of the wireless station: terminal emulation or Native.
Coding the Application Code does not need to be designed to handle multiple wireless stations. If two operators select the same application number, a copy of the application runs for each wireless station. Syntax checking is not done on messages transmitted through the 6950 EGS to the wireless station. Check the response to an asynchronous command for error notifications from the controller.
NORAND Native Syntax for Wireless Stations See the programmer's guide for details about the syntax.
Write Display You may use any command specified in the programmer's guide. We strongly recommend that you familiarize yourself with these commands before writing any code.
10-6
6950 Enterprise Gateway Server User’s Guide
Page 121
SECTION 10
Host Application Program
For Write Display commands, the communication driver in the 6950 EGS adds the If the is included here, the message is rejected. The 6950 EGS allows three additional abbreviated Native commands for: and
Other Commands and Responses The following table shows commands you can send in Native mode and a description of the normal responses from the wireless station. Table 10-3 Abbreviated Commands
ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ Feature
Description or = St
Sends the command. Note that you need to send from the on when issuing this. For example, if you were transmitting to wireless station number 2, sending would send The next response would be Sending a requests the version number of the wireless station. That is, sending a issues a DtV command to the wireless station. The next message from that wireless station should be its software version and wireless station number. Internet socket applications return only a version number. Sending a resets the wireless station. The next message from that wireless station should be a powerĆup message.
= DtV
= Gt
Responses received from the wireless stations follow the responses listed in the programmer's guide. (See the programmer's guide for more information about the format of incoming messages.) In addition, the 6950 EGS can return codes in the wireless station's number field. They are explained in the next topic.
6950 Enterprise Gateway Server User’s Guide
10-7