User's Manual

CDR-915L OEM DATA RADIO MODULE
___________________________________________________________________________________________
Revision M
INTEGRATOR’S GUIDE
23
Command Structure
The format of the data bytes for sending a command to the radios is as follows:
Read command:
- 0x01 (1 byte)
- memory select (1 byte) (0 = read from EEPROM, 1 = read from RAM)
- beginning address (high byte) (1 byte)
- beginning address (low byte) (1 byte)
- number of bytes to be read (1 byte)
Write Command:
- 0x02 (1 byte)
- memory select (1 byte) (0 = write to EEPROM, 1 = write to RAM)
- beginning address (high byte) (1 byte)
- beginning address (low byte) (1 byte)
- number of bytes to be written (1 byte)
- byte #1 to be written
- byte #2 to be written
- byte #3 to be written
- byte #n to be written
Path Management:
-0x03 (1 byte)
-mode (1 byte) (0 = off, 1 = every 250ms & on sync, 2 = on sync)
This command returns a series of packets 6 bytes long. The packet structure is as follows:
-0xAA (1 byte)
-counter (high byte) (1 byte)
-counter (low byte) (1 byte)
-source group (1 byte)
-source address (1 byte)
-0x55 (1 byte)
Read Model Command:
- 0x04 (1 byte)
This command returns an ASCII string 15 bytes long.
Read Software Version Command:
- 0x05 (1 byte)
This command returns an ASCII string 15 bytes long.
Read Serial Number Command:
- 0x06 (1 byte)
This command returns 4 bytes with the least significant byte first.