background image

Command Set                                                                                                                        

                                                                                                                                                                            
Preliminary

26

6.1.7

 

Status Reply*

This command will be sent by the Radio to the OEM Host in response to a Status Request

command. All the different parameters pertain to the data link layer and are cumulative totals. Once this
command has been sent back to the OEM Product, depending on whether the OEM Product desired an error
counter variable reset, the reset operation is carried out. The different statistics and their sizes are shown
below:

Name

Type

Description

Size

Radio Time

Time
Counter

Incremented by 1 every 250ms.  Initialized to
0 at power on or reset.

Unsigned Byte – 3
bytes, Low Byte
first

Tx Failures

Error
Counter

Number of times the Radio was not able to
deliver a data frame to the destination

Unsigned Long -
4 bytes

Tx Retries

Error
Counter

Number of times the Radio had to retry before
delivering a data frame to the destination

Unsigned Long -
4 bytes

Rx Failures

Error
Counter

Number of times the Radio had to throw away
a received data frame because of bad
CRC/checksum

Unsigned Long -
4 bytes

Rx Retries

Error
Counter

Number of times data frames had to be
retransmitted before a valid data frame was
received

Unsigned Long -
4 bytes

Num Active
Radios

Data Counter

Number of clients registered to a
Server Radio. If the Radio under
consideration is a Client radio, just return 0

Unsigned Byte - 1
Byte

List of
Registered
Radios

Identity

A list of 6 byte IEEE Addresses of all the
radio d 3 byte time stamp + 3 byte
packet count. Time stamp and packet counter
are reset at power on or RESET.

12 bytes * Num
Reg Client Radios

Status Reply Example

Name

Type

0 Active Radios

2 Active Radios

Radio Time

Time Counter

1 Byte – TL
1 Byte – TM
1 Byte – TH

1 Byte – TL
1 Byte – TM
1 Byte – TH

Tx Failures

Error Counter

4 Bytes

4 Bytes

Tx Retries

Error Counter

4 Bytes

4 Bytes

Rx Failures

Error Counter

4 Bytes

4 Bytes

Rx Retries

Error Counter

4 Bytes

4 Bytes

Num Active Radios

Data Counter

0

2

List of Registered Radios

Identity

6 bytes IEEE Address
3 bytes time stamp
3 bytes packet count
6 bytes IEEE Address
3 bytes time stamp
3 bytes packet count

Checksum

Actual

Actual

Data Frame:
8BH

17H

00H

Data

Checksum

Содержание PKLR2400

Страница 1: ...PKLR2400 Radio Hardware and Software Interface Specification Version 3 1 13256 W 98th Street Lenexa KS 66215 800 492 2320 www aerocomm com wireless aerocomm com...

Страница 2: ...th the limits for a Class B digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated i...

Страница 3: ...l is preliminary Information furnished by AeroComm in this specification is believed to be accurate Devices sold by AeroComm are covered by the warranty and patent indemnification provisions appearing...

Страница 4: ...3 6 Forced API Mode 03 PKTMODE 13 4 3 7 Microprocessor Reset uP RESET 14 4 3 8 EEPROM Write Protect E2WP 14 5 DEVELOPERS KIT 15 5 1 SERIAL ADAPTER BOARD 16 NOTE The pins on the 40 pin header strip ma...

Страница 5: ...er 32 7 1 4 Client Server Mode 32 7 1 5 System ID 32 7 1 6 Baud High BH and Baud Low BL 33 7 2 PROTOCOL EEPROM PARAMETERS 34 7 2 1 Transmit Data Link Attempts 35 7 2 2 Receive mode 35 7 2 3 In Range O...

Страница 6: ...e OEM Product The radio is controlled by a Dallas 87C520 microcontroller providing program storage A separate EEPROM provides user definable parameter storage The RF system is a Client Server Slave Ma...

Страница 7: ...nels Security User assigned System ID Unique IEEE address on each radio RADIO Frequency Band 2 402 2 478 GHz Radio Type Spread Spectrum Frequency Hopping Output Power 10mW Voltage 5V nominal 5 50mV ri...

Страница 8: ...wing maximum system flexibility These four Serial Interface Modes include three transparent modes and one API mode The radio to radio protocol is identical on all three Transparent Serial Interface Mo...

Страница 9: ...at the same time Since there is no reply command at the completion of Receive_data the Host must be capable of handling up to 8 Receive_data commands at one time Note This means that whenever a comman...

Страница 10: ...use of the RF_enable command it will receive the server radio IEEE 802 3 address once it is in range Upon receiving the IEEE 802 3 server radio address the client radio will issue an In_range command...

Страница 11: ...5 Critical parameters are as follows J1 40 pin OEM interface connector Amp P N 177986 1 mates with Amp P N 177985 1 J2 High frequency MMCX style antenna connector Huber Suhner P N 85 MMCX S50 0 51 mat...

Страница 12: ...20 GND GND Ground 21 GND GND Ground 22 NC D3 No Connect Data 3 23 CTS DIR1 Clear To Send Bidir Handshake 1 24 Reserved Reserved Reserved Processor 25 Reserved Reserved Reserved Crystal 26 BDSEL STROB...

Страница 13: ...adio enhancements These pins should be treated as No Connect pins and must not be connected to logic high or low levels but must be left floating 4 3 5 Baud Rate Selector BDSEL The Baud Rate Selector...

Страница 14: ...evel and reset 4 3 7 Microprocessor Reset uP RESET Microprocessor Reset uP RESET is achieved by holding pin 38 at logic high level for a minimum of 2ms If uP RESET is performed after power has been ap...

Страница 15: ...2400 quickly The kit includes 2 PKLR2400 Data Radios either serial or parallel 2 Serial Adapter Boards with 40 pin interface 40 pin header LED indicators power connector and DB9 connector SDK PKLR2400...

Страница 16: ...1 J1 Amp 40 Pin Connector 177985 1 mates directly with J1 on Radio 2 1 J2 DB9 Male connector mates with provided cable to PC or OEM Host 3 1 P1 Power Connector provides power to entire kit with provid...

Страница 17: ...ed Figure 3 Level Translation Enabled Figure 4 Level Translation Disabled Note If level translation is enabled it is important to note that the signal level will be inverted at the interface connector...

Страница 18: ...o exercise monitor and setup modes in the radios These utilities are Transmit Receive Emulator Single Line Command Interface and EEPROM Viewer Editor 5 2 1 1 Transmit Receive Emulator This software al...

Страница 19: ...through the commands in the script Once you have executed all the commands in the set up script you must press the reset button on the serial adapter board before any of the changes will be implement...

Страница 20: ...The default configuration for PORTS CFG assumes that both developer kit radios are connected to the same computer The default baud rate in PORTS CFG is 57600 This should not be changed unless the EEP...

Страница 21: ...n Mode 1 This has big packet size just about 1K PINGT1S RTC This file is used when the radios are in Mode 1 This has small packet size 256 Bytes PINGT2 RTC This file is used when the radios are in Mod...

Страница 22: ...CX plug cables are provided to interface the antenna boards to the radio Optional antennae are available for testing Antenna selection is instrumental to and will impact overall system performance 5 4...

Страница 23: ...ning after the Length 6 1 System Command Set Summary The System Commands allow the user to initialize the system and perform general system analysis when operating in API Serial Interface Mode 03 Name...

Страница 24: ...nal subcommands are reserved by the system and if used may cause system operation problems Note Following and EEPROM Write Command the user should invoke the Update EEPROM Checksum command Note Follow...

Страница 25: ...leep mode Data Frame 88H 01H 00H Data Checksum 6 1 5 Reset EEPROM This command is sent by the OEM Host to the Radio the result of which sets the various locations parameters in the EEPROM to their def...

Страница 26: ...d data frame because of bad CRC checksum Unsigned Long 4 bytes Rx Retries Error Counter Number of times data frames had to be retransmitted before a valid data frame was received Unsigned Long 4 bytes...

Страница 27: ...done after bringing up the AeroComm module out of reset The AeroComm module reports either a good or a bad checksum by sending back a response called EEPROM Checksum Status 6 1 10 EEPROM Checksum Stat...

Страница 28: ...n brought out of reset This enables the RF portion of the Radio and turns the transmitter receiver ON This command requires an acknowledge 6 2 2 Send data This command is issued by the Host to the Rad...

Страница 29: ...me is the received data Data Frame 83h Length Low Length High Data Checksum Destination Address Source Address Data MS Byte LS Byte MS Byte LS Byte 6 2 5 In range The Client Radio will issue this comm...

Страница 30: ...r an in range command has been issued to the Host processor This command should have some hysterisis so that the Host processor isn t flooded with these commands in a fringe coverage area The state of...

Страница 31: ...tored and changed independent of the serial interface protocol These parameters can only be changed when the API Serial Interface Mode 03 described in Section 7 1 is active EEPROM Address Size Descrip...

Страница 32: ...channel number other than 00 Note Channel Number AND System ID between clients and server must be identical for radios to communicate 7 1 4 Client Server Mode EEPROM Address 33H Size 1 byte Default 0...

Страница 33: ...over the interface between the OEM radio and host as follows Sample BHBL selections for common Baud Rates Using a 28 224 MHz Crystal Baud Rate BH BL 300 F4 84 2 400 FE 91 4 800 FF 48 9 600 FF A4 19 2...

Страница 34: ...d frame 01 unicast broadcast data default 02 unicast only 03 all promiscuous mode 32H 1 byte In Range Out of Range Refresh This byte specifies the number of 250 ms ticks between range indications This...

Страница 35: ...a destination address that has FF in all six bytes It is important to note that there is no RF acknowledge on Broadcast packets Mode 01 will accept Unicast and Broadcast data packets and discard all...

Страница 36: ...Interface Modes EEPROM Address 4AH Size 1 bytes Default 03 Range 01 04 There are four Serial Interface Modes for the OEM radio including one packet mode and three transparent modes All modes are diffe...

Страница 37: ...io will determine if the six byte IEEE address at 50H matches If the destination address matches the data packet is forwarded to the OEM host Otherwise the data is discarded This addressed mode guaran...

Страница 38: ...3 03 03 03 01 02 03 03 03 32H Range Refresh NA NA NA NA 01 FF 01 FF NA NA NA 3EH End Char Definition NA NA 00 FF 00 FF NA NA NA NA NA 43H Fixed Pkt Length HB 01 07 01 07 NA NA NA NA NA 01 07 01 07 44H...

Страница 39: ...PI Serial Interface Mode 03 Client Radio Server Radio Apply Power Wait for CTS logic low if 5V Host issues RF enable command Host awaits Acknowledge Host reads EEPROM for IEEE source address Await Ser...

Отзывы: