Command Set
Preliminary
23
6. Command Set
The basic command set consists of several commands from the Host and Radio
. The command
set can be used ONLY when the radio is in Serial Interface API Mode 03 determined by the
EEPROM address at 4AH (See Chapter 7, Configuring the PKLR2400).
The command set is designed
as follows:
Command
Length
Data
Checksum
Command
-- 1 Byte. This is the actual command from the appropriate processor.
Length
-- 2 Bytes. This is the total size of the remaining data for this command. The length field
is in little endian format.(i.e. low byte/hi byte). This length does not include the checksum.
Data
-- N Bytes. The actual data associated with the command.
Checksum
-- 1 Byte. The checksum is a byte-by-byte, bitwise “EXCLUSIVE OR” of the Data
block beginning 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
Command
Length
Data
Checksum
Reset*
AAH
0H
0H
AAH
Control*
86H
1 to 5 (depends of sub command)
As Required
As Required
Diagnostic Result*
87H
As Required
As Required
As Required
Standby*
88H
No yet supported
Reset EEPROM*
89H
0H
0H
89H
Status Request*
8AH
1H
0-reset error counter
1-don’t do anything
8AH
Status Reply*
8BH
14H-611H
See 5.1.16
Update EEPROM
Checksum*
8CH
0H
0H
8CH
Check EEPROM
Checksum*
8DH
0H
0H
8DH
EEPROM Checksum
Status*
8EH
1H
0-Checksum invalid
1-Checksum valid
8EH
Acknowledge*
As Required
0H
As Required
6.1.1
Reset*
This command is issued from the Host processor to the Radio. This command provides a software
reset to the PKLR2400 Radio initializing the code at the same location as a hardware reset. This must be
followed by an RF Enable.