The text of a manual · part 7 of 10
Mercury User's Guide, pages 61 to 70
Pages 61 to 70 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 61
Mercury-RF1 mode ASCII ‘i’, Hex 0x69
BYTE
RESPONSE
BYTE
SEQNO
From original command
BYTE
SERNUMH
Bits 24-31 of serial number
BYTE
SERNUM3
Bits 16-23 of serial number
BYTE
SERNUM2
Bits 8-15 of serial number
BYTE
SERNUML
Bits 0-8 of serial number
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
MCP VERSION
Version of MCP in use
BYTES
RADIO VERSION
NULL-terminated radio version identifier
BYTE
RADIOTYPE
0x10 for RangeLAN2
BYTES
INTERFACE VERSION
NULL-terminated Mercury version identifier
BYTE
INTERFACE TYPE
0x00 for RS-232
Table 7-5
MCP VERSION indicates which MCP protocol version is being used. It will use the highest version it is capable of, but not higher than the version requested. For example, if the request is for version 3, and the software only knows up to version 1, it will return 1; however, if the request is for version 2 and the software knows version 5, it will use version 2.
51
Page 62
DATA PACKET RECEIVED This message is generated spontaneously when a packet is received over the radio. BYTE
RESPONSE
ASCII ’d’, Hex 0x64
BYTE
RESERVED
0x00
BYTE
LENH
Bits 8-15 of data length
BYTE
LENL
Bits 0-7 of data length
BYTE
SRCADDRH
Bits 24-31 of source address
BYTE
SRCADDR3
Bits 16-23 of source address
BYTE
SRCADDR2
Bits 8-15 of source address
BYTE
SRCADDRL
Bits 0-7 of source address
BYTES
DATA
Serial packet data Table 7-6
SRCADDR is the port address of the sending modem.
52
Page 63
TRANSMIT DATA PACKET Tells the radio to send the data to the specified radio modem. BYTE
COMMAND
ASCII ’T’, Hex 0x54
BYTE
SEQNO
Sequence number
BYTE
LENH
Bits 8-15 of data length
BYTE
LENL
Bits 0-7 of data length
BYTE
DESTADDRH
Bits 24-31 of destination address
BYTE
DESTADDR3
Bits 16-23 of destination address
BYTE
DESTADDR2
Bits 8-15 of destination address
BYTE
DESTADDRL
Bits 0-7 of destination address
BYTES
DATA
Serial packet data Table 7-7
DESTADDR is either the port address of the receiving radio modem or the broadcast address of the group of radio modems that are to receive the packet.
53
Page 64
STATUS INDICATION OF TRANSMITTED PACKET Tells the user that the data has or has not been successfully sent and the reason why.
ASCII ‘t’, Hex 0x74
BYTE
RESPONSE
BYTE
SEQNO
From original command
BYTE
LENH
From original command
BYTE
LENL
From original command
BYTE
DESTADDRH
From original command
BYTE
DESTADDR3
From original command
BYTE
DESTADDR2
From original command
BYTE
DESTADDRL
From original command
BYTE
STATUS
See table below Table 7-8
54
Page 65
Status can be one of the following:
0x00
Successful Transmission
For point-to-point, packet was received by destination modem.
0x01
Retries Exhausted
Destination modem in range, but packet could not be sent.
0x02
Internal Timeout
Software timeout in the radio driver occurred. Probably indicates a hardware problem with the radio.
0x03
No Response from Destination
For point-to-point messages only means that it was not possible to detect remote modem. Could be off or out of range.
0x80
Buffers Full
Out of buffer memory. If any data is available to read, do so otherwise wait a moment and try again.
0xa0
Duplicate Packet
Packet was received already. Probably means that the response from the first packet was lost.
0xff
No Master
Timeout looking for a master. Communication could not be made. Perhaps master is off/out of range or domain number/security ID is wrong. In old protocol mode, this error will be returned as 0x03. Table 7-9
55
Page 66
REQUEST RADIO SIGNAL STRENGTHS Asks for the instantaneous radio signal strength, regardless of whether it is from a transmission or from extraneous noise. This function can be used to check noise levels to determine the best channel to be transmitting on if this modem is a master. BYTE
COMMAND
ASCII ‘R’, Hex 0x52
BYTE
SEQNO
Sequence number Table 7-10
56
Page 67
SIGNAL STRENGTH REPORT Returns the strength values for each of the channels in the range 0x00 to 0xff. 0xff is maximum strength. In old protocol mode, values will be returned for channels 1 - 7 (other channels are not available in this mode). In new protocol mode, channel is the last channel number sampled, and value is the strength measured. ProxLink compatible mode ASCII ’r’, Hex 0x72
BYTE
RESPONSE
BYTE
SEQNO
From original command
BYTE
SSCHAN 1
Radio power received on channel 1
BYTE
SSCHAN 2
Radio power received on channel 2
BYTE
SSCHAN 3
Radio power received on channel 3
BYTE
SSCHAN 4
Radio power received on channel 4
BYTE
SSCHAN 5
Radio power received on channel 5
BYTE
SSCHAN 6
Radio power received on channel 6
BYTE
SSCHAN 7
Radio power received on channel 7 Table 7-11
Mercury-RF1 mode ASCII ‘r’, Hex 0x72
BYTE
RESPONSE
BYTE
SEQNO
From original command
BYTE
CHANNEL
Last channel radio signal received on
BYTE
VALUE
Signal strength received Table 7-12
57
Page 68
REQUEST MODEM VERSION Asks for the serial number of the radio modem, version of the software, and hardware type. BYTE
RESPONSE
ASCII ‘V’, Hex 0x56
BYTE
SEQNO
Sequence number Table 7-13
MODEM VERSION REPORT Returns the requested version data. ProxLink compatible mode ASCII ‘v’, Hex 0x76
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-14
58
Page 69
Mercury-RF1 mode ASCII ‘i’, Hex 0x69
BYTE
RESPONSE
BYTE
SEQNO
From original command
BYTE
SERNUMH
Bits 24-31 of serial number
BYTE
SERNUM3
Bits 16-23 of serial number
BYTE
SERNUM2
Bits 8-15 of serial number
BYTE
SERNUML
Bits 0-8 of serial number
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
MCP VERSION
Version of MCP in use
BYTES
RADIO VERSION
NULL-terminated radio version identifier
BYTE
RADIOTYPE
0x10 for RangeLAN2
BYTES
INTERFACE VERSION
NULL-terminated Mercury version identifier
BYTE
INTERFACE TYPE
0x00 for RS-232
Table 7-15
59
Page 70
GO TO STANDBY Puts the modem into low-power mode. The radio is shut off and no packets can be transmitted or received until woken up by asserting RTS. BYTE
COMMAND
ASCII ’G’, Hex 0x47 Table 7-16
Note: There is no seqno for this command.
STANDBY CONFIRMATION Acknowledges that standby is about to go into effect. Any commands still pending at this time can be assumed to be lost. When modem is woken up, it will be in a reset (default) state. BYTE
RESPONSE
ASCII ’g’, Hex 0x67 Table 7-17
60