previous

next

Module Registration Process - Exponential Back Off

The module registration process uses an exponential back off method. Exponential back off is an algorithm used to space out repeated transmissions of the same block of data to avoid network congestion.

  • The first attempt at registration is based on the module's address. The first attempt is 5 seconds after power up plus 200ms times the module's address. This means that a module with the address of 8 will first attempt registration 6.6 seconds after power up.
  • When modules in the module network fail to receive a response from the controller, they will wait 2 seconds before retrying, then 4 seconds, then 8 seconds and so on.
  • When the attempts reach 128 seconds apart, the cycle restarts at 2 seconds and continues to loop until the controller responds.
  • When any packet is sent by any module there is always a small randomized delay before it goes out to avoid any two modules becoming synchronized in their retry timing.

 

This won't always be 100% consistent between all of the modules in the module network. Some older modules may reach 256 seconds between retries before looping back to 2 seconds.