Page 60 of 90
CCT24
0x0030
9.6 kb/s
0x0060
4.8 kb/s
0x00C0
2.4 kb/s
0x0180
1.2 kb/s
Note that if a value of 0x0000 is specified, the maximum data rate of 460.8 kb/s will be selected.
MemorySave
- writing 0x00 to this location clears all registers back to factory defaults. Writing a 0x01 to
this location commits the current register settings to EEPROM. Writing 0x02 to this location saves the
current setting to EEPROM and forces a software reset. When programming registers, all changes are
considered temporary until an 0x01 or 0x02 command is executed.
4.2.12 Protocol Mode Configuration Example
In this example, the host configures the base to transmit 10 dBm (10 mW) of RF power using the
SetRegister
command, 0x04. The
TxPower
parameter is stored in bank 0x00, register 0x18. A one-byte
parameter value of 0x01 selects the 10 dBm (10 mW) power level. The protocol formatting for the com-
mand is:
0xFB 0x05 0x04
0x18 0x00 0x01 0x01
Note the order of the bytes in the command argument: register, bank, span, parameter value. When the
base receives the command it updates the parameter setting and return a
SetRegisterReply
message as
follows:
0xFB 0x01
0x14
In order for this new RF power setting to persist through a base power down,
MemorySave
must be
invoked. This is done by setting a one-byte parameter in register 0xFF of bank 0xFF to 0x01 with another
SetRegister
command:
0xFB 0x05 0x04
0xFF 0xFF 0x01 0x01
The base will write the current parameter values to EEPROM and return a
SetRegisterReply
message:
0xFB 0x01
0x14
4.2.13 Protocol Mode Sensor Message Example
In this example, the base host requests an ADC1 reading from a remote using the
GetRemoteRegister
command, 0x0A. The MAC address of the remote is 0x000102. The current ADC1 measurement is read
from register 0x08 in bank 0x05. The ADC reading spans two bytes. The protocol formatting for this
command is:
0xFB 0x07 0x0A
0x02 0x01 0x00
0x08 0x05 0x02
Note the remote MAC address 0x000102 is entered in Little-Endian byte order, 0x02 0x01 0x00. The
ADC reading is returned in a
GetRemoteRegisterReply
message:
0xFB 0x0B 0x1A
0x00
0x02 0x01 0x00
0xC4
0x08 0x05 0x02
0xFF 0x02
Substantial information is returned in the message. The last two byes of the message give the ADC
reading in Little-Endian format, 0xFF 0x02. The ADC reading is thus 0x02FF. The RSSI value is the byte
following the address, 0xC4 (-60 dBm). The
TxStatus
byte to the right of the
GetRemoteRegisterReply
Packet Type is 0x00, showing the packet was acknowledged on the RF channel.