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 6 of 10

Mercury User's Guide, pages 51 to 60

Pages 51 to 60 of 96

The original document is the PDF (1.5 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 Mercury RF1 and Intermec Mercury-EN

Page 51

connect to on the remote computer.

reopen after shutdown If the type is listen, this states whether a second connection will be accepted after the first connection terminates. If the type is connect, this states whether another connection attempt will be made if the first connection is closed by the remote computer.

socket connect data This specifies data to be written to the connection once it is successful. The value is specified as a combination of a string and ASCII values. For example, the default value is "Hello!" 0xd 0xa. (The double-quote marks are a part of this value, unlike in some previous examples.) The item in quotes and the ASCII values together make up the data to be written. This example would cause 8 bytes to be written to the socket; these are, in hexadecimal, 0x48 0x65 0x6c 0x6c 0x6f 0x21 0x0d 0x0a. In fact, the data could have been specified on this line by using exactly those eight hexadecimal values instead of as a combination of string and hex.

serial connect data This causes data to be written to the UART once a connection is successful. The format is the same as in socket connect data.

serial disconnect data This causes data to be written to the UART when the network connection has been closed. This data is appended to any data already in progress: the closing of the socket will not cancel UART transmission of any data already received over the socket. The format of this data is the same as in socket connect data.

41

Page 52

serial fail data This causes data to be written to the UART if the socket connection were to fail. This should only happen in the case of a connect type where the remote machine was unavailable or refused the connection. However, it is valid to use it to catch listen problems should any software problem occur. The format is the same as in socket connect data.

RANGELAN2 ETHERNET / BRIDGED ETHERNET (LAN0) [hardware] station type In order for a frequency hopping radio to work, in each network there must be one unit that coordinates the hops. This unit is called the Master. It might help to think of the Master as the conductor of a frequency hopping orchestra. The Master keeps time so all units know when to hop and what frequency to hop to. Units classified as Stations synchronize to the Master and follow its signal to learn what frequency in the pattern the Master is currently using. An acting “Master” can be configured either as a Master or Alternate Master. Alternate Masters act either as a Master or a Station. If an Alternate Master unit is unable to locate any other Master within range, it acts as a Master. If a Master station is already present, then the Alternate Master acts as a Station. When there are multiple Alternate Masters, they coordinate amongst themselves to determine who will become the Master. There must be at least one station on the network designated the Master station. For most operating environments, there will be at least one unit always present. This should be set as the Master. Other units may be then configured as Alternate Masters, in case failure of the Master occurs. In environments in which no unit will always be present, you may set several units to be Alternate Masters, with no unit

42

Page 53

configured as "the" Master. In these cases, the Alternate Masters will negotiate amonst themselves to determine which will act as the Master for the time being. If that unit leaves, the negotiation will be performed again. This process takes a few seconds (time to realize that the current Master is no longer present, and then time to negotiate the new Master). For performance considerations regarding the setting of this parameter, refer to Appendix E, Performance Hints. The Station Type choices are as follows: q master q alternate master q station domain In order to establish communications, all Station Types require the same Domain number. Radios on different Domains cannot communicate with each other. The Domain is a software filter which does not affect the actual radio frequency or the frequency hop sequence, but specifies one unit to control the timing of the hop sequence. The Domain is a number between 0 and 15 with 0 being the default setting.

channel Each Master can select one of 15 Channels to establish communications with Stations. Each Channel number sets a unique frequency hopping sequence allowing for multiple subnetworks with higher data rate transmission capability in the same air space. You may think of the Channel as a pipe. In order to communicate, radios must be on the same Channel and there must be one (and only one) Master that provides the timing for that Channel. There are 15 independent Channels designated 1 through 15 with 1 being the default setting. This means that there are 15 different sequences of frequency hops. Each Channel is at a different frequency at a different time. For networks with multiple Masters (like in a roaming environment), set each Master to a differ-

43

Page 54

ent channel for optimum performance. You need only set the Channel on a Master or Alternate Master. Stations will ignore the parameter if it is set, because they will synchronize to the setting the Master is using.

subchannel The Subchannel is a software code that is appended to each radio packet. It does not affect the frequency hopping sequence like a Channel does. Use a Subchannel if you need more than 15 Masters in the same area and, therefore, all the Channels are used. For example, you can use Channel 1, Subchannel 1 for Network A and Channel 1, Subchannel 2 for Network B. The two networks will not communicate with one another. They are, however, still sharing the 1.6 Mbps pipe since they are both using Channel 1. The Subchannels are designated 1 through 15 with 1 being the default setting. You need only set the Subchannel on a Master or Alternate Master. Stations will ignore the parameter if it is set, because they will synchronize to the setting the Master is using.

peer to peer This value affects the way the RangeLAN2 radio routes through the Access Point. Changing this value is not recommended except with the assistance of Nomadic Communications Technical Support.

[sleep] This section governs the low power state of the radio.

state This is the type of sleep mode to go into. Possible selections are broadcast, directed, and standby. In broadcast and directed, network traffic may wake the device up; the type of traffic you want to cause wakeup, broadcast (sent to everyone) or directed (sent only to this radio) specifies which value to use. If you do not want radio traffic to wake the unit up, additional power savings can be found by using standby. This mode will cause the radio to wake up (taking about two seconds to do so) when data is ready to

44

Page 55

be transmitted.

rts causes sleep This is a yes/no entry that dictates whether the RTS line can cause the radio to go into low power mode. If this is yes, setting the RTS line to a logic 1 (the same state as if you wanted the Mercury to “stop transmitting data”) will cause the radio to go into the desired state.

rts timer Once the RTS line is set to logic 1, this is the amount to time in seconds to wait before actually shutting down the radio.

inactivity causes sleep This is a yes/no entry that states whether the radio will be shut down due to an amount of time passing without data transfer.

inactivity timer This is the amount of time, in seconds, to pass without activity before the radio is put to sleep.

shut off led power If this is set to yes, the LEDs on the top of the Mercury will be shut off to save power when the radio goes into sleep.

negate sleep output If this is set to yes and sleep is set as an output for one of the flow control lines, the state of the radio will be shown on the corresponding flow control line. Note that this flow control line will not be readable if the RS-232 driver is shut off due to the UART also being in low power mode.

[rmp] This section sets the configuration of the RMP protocol.

45

Page 56

ethertype Changing this value is not recommended except with the assistance of Nomadic Communications Technical Support

[ip] This section sets the configuration of the IP protocol.

ip address This is the IP address that will be used by other computers to communicate with this Mercury.

netmask This is a value that, when logical ANDed with the IP address, specifies the range of IP addresses within the local network.

broadcast This is the IP address that is used in the local network to refer to all computers simultaneously. The default of “automatic” will work for almost all configurations. There should be no need to change this value.

route This value references section names that specify the routing options for this network interface card. The default of “automatic” will work for most configurations. Please consult Nomadic Communications technical support before changing this value.

gateway This value specifies the IP address of your Internet router or firewall, if present. By default, this value is set to ‘none’. Change this to the IP address of your gateway if you intend to use one.

46

Page 57

CHAPTER 7 - PROXLINK PROTOCOL PPX-1 / MCP PACKETIZED MODE SPECIFICATION This chapter describes the format that data passed to a Mercury’s serial port must be in when the Mercury is configured for the ProxLink protocol.

PPX-1 Proxim Packet Exchange protocol version 1 is an error checking protocol that is an envelope around an MCP data packet. This envelope is as follows: BYTE

SOP

Start of header (0x01)

BYTE

LENH

High byte of length

BYTE

LENL

Low byte of length

BYTE

LENC

Checksum: ~LENL + ~LENH (sum of inverse of length bytes)

BYTES

DATA

MCP protocol data (see below)

BYTE

CSUMH

High byte of checksum

BYTE

CSUML

Low byte of checksum

Table 7-1

The DATA entry is typically an MCP command (see MCP below).

MERCURY C OMMAND PACKETIZED PROTOCOL (MCP) The Mercury Command Packetized Protocol is an easy to use, fullfeatured protocol designed to allow the programmer complete flexibility in controlling the Mercury-RF1. Mercury-RF1’s MCP protocol comes in two versions: one is backward compatible with Proxim’s ProxLink packetized protocol format, the other offers more advanced features that were not available in the ProxLink.

47

Page 58

The MCP packet is unwrapped from a PPX-1 packet after receipt over the serial port.

PACKET TYPES Most of the text in this section is from the ProxLink Packetized Mode Specification manual. There are a few commands added, such as Domain value, Master value/name control, and Security ID; and a few have been changed: the Channel and Subchannel arguments have a different range than in the Proxim modem.

48

Page 59

INITIALIZE MODEM Resets modem. Any pending commands are cancelled and modem reverts to its default power-up state. ProxLink compatible mode BYTE

COMMAND

ASCII ’I’, Hex 0x49

BYTE

SEQNO

Sequence number Table 7-2

Mercury-RF1 mode BYTE

COMMAND

ASCII ‘I’, Hex 0x49

BYTE

SEQNO

Sequence number

BYTE

MCP VERSION

Version of MCP to use

Table 7-3

VERSION specifies which version of MCP packet format the user’s software expects to use. VERSION starts at 1, and will increase as new commands and response formats change (so old software will never be broken, regardless of what changes are made). Version 1 is ProxLink compatible, and version 2 contains advanced Mercury-RF1 commands. The current version is 2, so any values greater than this will fail.

49

Page 60

INITIALIZATION CONFIRMATION Response that the initialization is complete. This packet is almost identical to the Modem Version Report, except that the response is ‘i’ instead of ‘v’. ProxLink compatible mode ASCII ‘i’, Hex 0x69

BYTE

RESPONSE

BYTE

SEQNO

BYTE

PORTADDRH

Bits 24-31 of local address

BYTE

PORTADDR3

Bits 16-23 of local address

BYTE

PORTADDR2

Bits 8-15 of local address

BYTE

PORTADDRL

Bits 0-7 of local address

BYTE(7)

STRING

BYTE

RADIOTYPE

From original command

Version of Mercury firmware Type of radio being used

Table 7-4

50