Repeater network algorithm details
The firmware uses an algorithm to propagate each RF packet through the entire repeater network. Within a repeater network, the firmware only defines Repeater Nodes and repeater End Nodes. Repeater Nodes forward messages on to other devices within range; End Nodes do not.
The algorithm maintains a list of messages previously received in a buffer. The firmware discards messages already in the buffer. This eliminates End Nodes receiving multiple copies of a packet from more than one source, and also eliminates multiple repeaters within range of each other from continually passing messages in an infinite loop.
- Packet ID (PID) is composed of the TX (transmitting) device MY address and the packet sequence number.
- The firmware ignores incoming packets with a PID already in the buffer.
- Each device maintains a PID buffer 4-deep of previously received packets (managed as FIFO).
The firmware may shift packets out the serial port and/or repeat them depending on the DT parameter in the RF packet. The following table shows the basis for these decisions.
Address Match |
Send out serial port? |
Repeat? |
---|---|---|
Global |
Yes |
Yes |
Local |
Yes |
No |
None |
No |
Yes |