Optoelectronics, Inc. Xplorer Serial Interface Specification Interface Version 1.0 August 10, 1996 INTRODUCTION This document describes the serial interface of the Xplorer. This document was written to assist the programmer in developing software applications for the Xplorer. Optoelectronics, Inc. assumes no responsibility for the accuracy of the information contained in this document. Optoelectronics, Inc. is under no obligation to provide technical support on matters pertaining to this document, or to provide notification of changes or corrections to this document. To inquire about possible revisions, or to order copies of this document, contact the factory. A nominal fee may be charged to cover printing and shipping costs. OPTOELECTRONICS, INC. 5821 N.E. 14th Avenue Fort Lauderdale, FL 33334 Phone: (305) 771-2050 FAX: (305) 771-2052 About the Xplorer Modified CI-5 Interface The Xplorer is designed to be connected to either a GPS receiver or a personal computer serial port through a RS-232C interface. The serial interface on the Xplorer is full duplex RS-232C using a command set that conforms to the Icom CI-5 interface standard. The Xplorer does not conform to the CI-V hardware specification. While the Xplorer has a unique address, it is not intended to work with any other CI-V devices in wired or configuration.. The communications parameters for the serial interface are listed in Table 1 below. Table 1. Communications Parameters. DATA RATE 9600 bps START BITS 1 DATA BITS 8 PARITY NONE STOP BITS 1 The transmit data signal and the receive data signal are not connected together in Xplorer. Therefore, when a command is transmitted by the computer, unlike in true CI-V devices, it is not automatically echoed back as received data. Xplorer does not monitor its own transmitted command and is not capable of monitoring a collision as other true CI-V devices can. A collision occurs when two or more devices transmit simultaneously. If a collision occurs, the command must be re-transmitted. To connect the Xplorer to a computer, a 8-pin mini DIN connector is provided on the top panel. An external interface converter box, such as the Optoelectronics Optolinx, is not required to connect the Xplorer to an RS-232C computer interface. CI-5 ADDRESS JUMPER SETTINGS Because only a single Xplorer can be connected to a computer RS-232C serial port, there is no need to change the CI-V address using on board jumpers. All addresses are specified in hexadecimal notation. The factory default setting, address B0. Table 2. CI-5 Address Jumper Settings. COMMAND REFERENCE As mentioned earlier, the Xplorer uses commands that conform to the Icom CI-5 interface standard. In this section, all CI-5 command and response bytes are expressed in hexadecimal notation. When CI-5 COMMAND interface is selected, the Xplorer recognizes 13 different commands, which are summarized in Table 3 below. The Xplorer only responds to commands when CI-5 COMMAND interface is selected. Following the table is a detailed description of each of the commands, including examples illustrating their use. In the command descriptions, "ra" refers to the RECEIVE ADDRESS, and "ta" refers to the TRANSMIT ADDRESS. The RECEIVE ADDRESS is the address of the Xplorer. The CI-5 ADDRESS configuration setting is used to select any address in the range B0 through BF. Each device on the CI-5 bus must have its own unique address. The Xplorer will not process any command in which the RECEIVE ADDRESS does not match the address selected by the CI-5 ADDRESS configuration setting. The TRANSMIT ADDRESS is the address of the device which is transmitting the command to the Xplorer. In most cases, this device is a personal computer executing application software, usually referred to as the CONTROLLER. The standard address for the CONTROLLER is E0, but any address can be used for the TRANSMIT ADDRESS. However, the TRANSMIT ADDRESS must be in the range 01 to EF. Also, the Xplorer will not process any command in which the TRANSMIT ADDRESS matches its own address selected by the CI-5 ADDRESS configuration setting. Table 3. Xplorer CI-5 Interface Command Summary. COMMAND SUB-COMMAND DESCRIPTION 7F 09 Read Identification 7F 40 Read Memory Frequency 7F 41 Read Memory Hits 7F 42 Read Memory Time 7F 43 Read Memory Date 7F 44 Read Memory Status 7F 45 Read Memory Latitude 7F 46 Read Memory Longitude 7F 47 Read Memory Signal Strength 7F 48 Read Memory Deviation 7F 49 Read Memory CTCSS 7F 4A Read Memory DCS 7F 4B Read Memory DTMF READ IDENTIFICATION Command: FE FE ra ta 7F 09 FD Example: FE FE B0 E0 7F 09 FD Response: FE FE ta ra 7F 09 id sv rv iv FD Example: Xplorer, software version 2.0, RF board version 1.1, interface version 1.0 FE FE E0 B0 7F 09 58 50 52 20 11 10 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the identification information. This command is only valid when CI-5 COMMAND interface is selected. The identification data is in the form of six bytes, each consisting of two BCD digits. The first six BCD digits uniquely identify the device. The next two BCD digits indicate the current software version. The next two BCD digits indicate the current RF board version. The last two BCD digits indicate the current interface version. If the command length is incorrect, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY FREQUENCY Command: FE FE ra ta 7F 40 memory FD Examples: Memory location 0 FE FE B0 E0 7F 40 00 00 FD Memory location 19 FE FE B0 E0 7F 40 00 19 FD Memory location 247 FE FE B0 E0 7F 40 02 47 FD Memory location 499 FE FE B0 E0 7F 40 04 99 FD Response: FE FE ta ra 7F 40 frequency FD Examples: 162.550000 MHz FE FE E0 B0 7F 40 00 00 55 62 01 FD 1045.725000 MHz FE FE E0 B0 7F 40 00 50 72 45 10 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the frequency stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The frequency data is in the form of five bytes, each consisting of two BCD digits. The order of the ten BCD digits is as follows: 10 Hz digit, 1 Hz digit, 1 kHz digit, 100 Hz digit, 100 kHz digit, 10 kHz digit, 10 MHz digit, 1 MHz digit, 1 GHz digit, 100 MHz digit. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY HITS Command: FE FE ra ta 7F 41 memory FD Examples: Memory location 0 FE FE B0 E0 7F 41 00 00 FD Memory location 19 FE FE B0 E0 7F 41 00 19 FD Memory location 247 FE FE B0 E0 7F 41 02 47 FD Memory location 499 FE FE B0 E0 7F 41 04 99 FD Response: FE FE ta ra 7F 41 hits FD Examples: 37 hits FE FE E0 B0 7F 41 00 00 37 FD 214 hits FE FE E0 B0 7F 41 00 02 14 FD 42,784 hits FE FE E0 B0 7F 41 04 27 84 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the number of hits of the frequency stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The hits data is in the form of three bytes, each consisting of two BCD digits. The number of hits will be in the range 0 to 65,535. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY TIME Command: FE FE ra ta 7F 42 memory FD Examples: Memory location 0 FE FE B0 E0 7F 42 00 00 FD Memory location 19 FE FE B0 E0 7F 42 00 19 FD Memory location 247 FE FE B0 E0 7F 42 02 47 FD Memory location 499 FE FE B0 E0 7F 42 04 99 FD Response: FE FE ta ra 7F 42 h m s FD Examples: 2:14:45 a.m. FE FE E0 B0 7F 42 02 14 45 FD 4:23:06 p.m. FE FE E0 B0 7F 42 16 23 06 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the time stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The time data is in the form of three bytes, each consisting of two BCD digits. The time is stored in 24 hour format. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY DATE Command: FE FE ra ta 7F 43 memory FD Examples: Memory location 0 FE FE B0 E0 7F 43 00 00 FD Memory location 19 FE FE B0 E0 7F 43 00 19 FD Memory location 247 FE FE B0 E0 7F 43 02 47 FD Memory location 499 FE FE B0 E0 7F 43 04 99 FD Response: FE FE ta ra 7F 43 m d y FD Examples: October 21, 1996 FE FE E0 B0 7F 43 10 21 19 96 FD March 17, 1997 FE FE E0 B0 7F 43 03 17 19 97 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the date stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The date data is in the form of four bytes, each consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY STATUS Command: FE FE ra ta 7F 44 memory FD Examples: Memory location 0 FE FE B0 E0 7F 44 00 00 FD Memory location 19 FE FE B0 E0 7F 44 00 19 FD Memory location 247 FE FE B0 E0 7F 44 02 47 FD Memory location 499 FE FE B0 E0 7F 44 04 99 FD Response: FE FE ta ra 7F 44 sd FD Examples: Audio ON, DTMF ON FE FE E0 B0 7F 44 00 FD Audio OFF, DTMF ON FE FE E0 B0 7F 44 01 FD Audio ON, DTMF OFF FE FE E0 B0 7F 44 02 FD Audio OFF, DTMF OFF FE FE E0 B0 7F 44 03 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the status data stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The status data is in the form of one byte, consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY LATITUDE Command: FE FE ra ta 7F 45 memory FD Examples: Memory location 0 FE FE B0 E0 7F 45 00 00 FD Memory location 19 FE FE B0 E0 7F 45 00 19 FD Memory location 247 FE FE B0 E0 7F 45 02 47 FD Memory location 499 FE FE B0 E0 7F 45 04 99 FD Response: FE FE ta ra 7F 45 latitude FD Examples: 30:26.83 N FE FE E0 B0 7F 45 10 30 26 83 FD 27:14.65 S FE FE E0 B0 7F 45 00 27 14 65 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the latitude stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The latitude data is in the form of four bytes, each consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY LONGITUDE Command: FE FE ra ta 7F 46 memory FD Examples: Memory location 0 FE FE B0 E0 7F 46 00 00 FD Memory location 19 FE FE B0 E0 7F 46 00 19 FD Memory location 247 FE FE B0 E0 7F 46 02 47 FD Memory location 499 FE FE B0 E0 7F 46 04 99 FD Response: FE FE ta ra 7F 46 longitude FD Examples: 85:17.03 W FE FE E0 B0 7F 46 10 85 17 03 FD 124:53.76 E FE FE E0 B0 7F 46 01 24 53 76 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the longitude stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The longitude data is in the form of four bytes, each consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY SIGNAL STRENGTH Command: FE FE ra ta 7F 47 memory FD Examples: Memory location 0 FE FE B0 E0 7F 47 00 00 FD Memory location 19 FE FE B0 E0 7F 47 00 19 FD Memory location 247 FE FE B0 E0 7F 47 02 47 FD Memory location 499 FE FE B0 E0 7F 47 04 99 FD Response: FE FE ta ra 7F 47 ss FD Examples: 0 bargraph segments FE FE E0 B0 7F 47 00 FD 27 bargraph segments FE FE E0 B0 7F 47 27 FD 50 bargraph segments FE FE E0 B0 7F 47 50 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the signal strength stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The signal strength data is in the form of one byte, consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY DEVIATION Command: FE FE ra ta 7F 48 memory FD Examples: Memory location 0 FE FE B0 E0 7F 48 00 00 FD Memory location 19 FE FE B0 E0 7F 48 00 19 FD Memory location 247 FE FE B0 E0 7F 48 02 47 FD Memory location 499 FE FE B0 E0 7F 48 04 99 FD Response: FE FE ta ra 7F 48 dev FD Examples: 4.3 kHz FE FE E0 B0 7F 48 00 43 FD 25.9 kHz FE FE E0 B0 7F 48 02 59 FD 102.7 kHz FE FE E0 B0 7F 48 10 27 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the deviation stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The deviation data is in the form of two bytes, each consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY CTCSS Command: FE FE ra ta 7F 49 memory FD Examples: Memory location 0 FE FE B0 E0 7F 49 00 00 FD Memory location 19 FE FE B0 E0 7F 49 00 19 FD Memory location 247 FE FE B0 E0 7F 49 02 47 FD Memory location 499 FE FE B0 E0 7F 49 04 99 FD Response: FE FE ta ra 7F 49 CTCSS FD Examples: 103.5 Hz FE FE E0 B0 7F 49 10 35 FD 85.4 Hz FE FE E0 B0 7F 49 08 54 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the CTCSS tone stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The CTCSS data is in the form of two bytes, each consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY DCS Command: FE FE ra ta 7F 4A memory FD Examples: Memory location 0 FE FE B0 E0 7F 4A 00 00 FD Memory location 19 FE FE B0 E0 7F 4A 00 19 FD Memory location 247 FE FE B0 E0 7F 4A 02 47 FD Memory location 499 FE FE B0 E0 7F 4A 04 99 FD Response: FE FE ta ra 7F 4A DCS FD Examples: 047 FE FE E0 B0 7F 4A 00 47 FD 732 FE FE E0 B0 7F 4A 07 32 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the DCS code stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The DCS data is in the form of two bytes, each consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. READ MEMORY DTMF Command: FE FE ra ta 7F 4B memory FD Examples: Memory location 0 FE FE B0 E0 7F 4B 00 00 FD Memory location 19 FE FE B0 E0 7F 4B 00 19 FD Memory location 247 FE FE B0 E0 7F 4B 02 47 FD Memory location 499 FE FE B0 E0 7F 4B 04 99 FD Response: FE FE ta ra 7F 4B DTMF digits (31) FD Examples: 7712050 FE FE E0 B0 7F 4B 07 07 01 02 00 05 00 99 99 ... 99 FD ABCD*# FE FE E0 B0 7F 4B 10 11 12 13 14 15 99 99 99 ... 99 FD Error FE FE E0 B0 FA FD Description: This command instructs the unit to send the DTMF digits stored in the specified memory location. This command is only valid when CI-5 COMMAND interface is selected. The specified memory location data is in the form of two bytes, each consisting of two BCD digits. The specified memory location must be in the range 0 to 499. The DTMF data is in the form of 31 bytes, each consisting of two BCD digits. A numeric code is assigned to each of the 16 DTMF digits. The code 99 is used to represent empty DTMF digit locations. See the examples shown above. If the command length is incorrect, or if the specified memory location is not in the range 0 to 499, then the command is ignored, and the error response is returned. If CI-5 COMMAND interface is not selected, then the command is ignored, and no response is returned. Optoelectronics, Inc. Company Confidential The undocumented Xplorer serial interface command described below enables or disables cellular reception. Once cellular reception is enabled or disabled, the change is permanent until a new CELLULAR ENABLE/DISABLE command is issued. CELLULAR ENABLE/DISABLE Command: FE FE ra ta 7F D6 unlock code e/d FD Examples: Disable cellular reception FE FE B0 E0 7F D6 xx xx xx xx xx xx xx xx 00 FD Enable cellular reception FE FE B0 E0 7F D6 xx xx xx xx xx xx xx xx 01 FD Response: Error FE FE ta ra FA FD Example: Error FE FE E0 B0 FA FD Description: This command enables or disables cellular reception. However, the error response is returned under all conditions, even when the command is successfully executed. This command is only valid when CI-5 COMMAND interface is selected. The unlock code is in the form of eight bytes, each consisting of two BCD digits. The unlock code is, therefore, a unique 16-digit code which must be correctly specified to enable or disable cellular reception. The enable/disable code is in the form of one byte, consisting of two BCD digits. See the examples shown above. If the command length is incorrect, or if the unlock code or enable/disable code is not valid, the command is ignored. Optoelectronics, Inc. Company Confidential OPTOELECTRONICS, INC. 5821 N.E. 14th Avenue Fort Lauderdale, FL 33334 Phone: (305) 771-2050 FAX: (305) 771-2052 18