Page 42 of 90
CCT24
Range = Range measurement of joining radio
(1 byte)
. Each count equals 0.29 miles
.
BootSelect = Code indicating whether to do a normal reset or a reset to the bootloader
(1 byte)
(0 = normal reset, 1 = reset to bootloader)
PermitStatus = Permission for new node to join, 0x00 = denied, 0x01 = permitted
(1 byte)
BackoffTime = Time that a node will avoid trying to join a network, in seconds
(2 bytes)
(0xFFFF = back off until reset or power cycled)
4.1.3 /CFG Select Pin
A falling edge on the /CFG pin is the equivalent of the
EnterProtocolMode
command. A rising edge on the
/CFG pin is the equivalent to sending the
ExitProtocolMode
command. The input to the /CFG pin is de-
bounced to make it compatible with a mechanical switch or jumper.
4.1.4 Flow Control
There are two flow control signals between the radio and the host, /HOST_RTS and /HOST_CTS. See
Section 2.11 for flow control details.
4.1.5 Protocol Mode Data Message Example
In this example, ASCII text
Hello World
is sent from the base to a remote using a
TxData
command. The
MAC address of the remote is 0x000102. The protocol formatting for the host message is:
0xFB
0x0F
0x05
0x02 0x01 0x00
0x48 0x65 0x6C 0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64
There are 15 bytes following the length byte, so the length byte is set to 0x0F. Note that the 0x000102
MAC address is entered in Little-Endian byte order 0x02 0x01 0x00.
When an ACK to this message is received from the remote, the base outputs a
TxDataReply
message to
its host:
0xFB 0x06 0x15
0x00
0x02 0x01 0x00
0xC4
The 0x00
TxStatus
byte value indicates the ACK reception from the remote. The
RSSI
value of the re-
ceived ACK is 0xC4 (-60 dBm).
If the remote is in protocol mode, the message is output in the following format:
0xFB 0x10
0x26
0x00 0x00 0x00
0xC4
0x48 0x65 0x6C 0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64
The message is output as an 0x26 event. The address field contains the base (originator) address. Note
that the RSSI value 0xC4 is inserted between the base MAC address and the
Hello World
user data.
4.1.6 Protocol Mode Tree-Routing MAC Address Discovery Example
In this example, a
Discover
command is broadcast in a tree-routing system to obtain the system address
of a remote with the MAC address 0x000102.
The protocol formatting for the host message is:
0xFB 0x04 0x06 0x02 0x01 0x00
There are 4 bytes following the length byte, so the length byte is set to 0x04. Note that the 0x000102
MAC address is entered in Little-Endian byte order 0x02 0x01 0x00.