RoundRobinRadioOrigin


Description:

The RoundRobinRadioOrigin class is a radio protocol that facilates communication of many SPOTs with a central SPOT. RoundRobinRadioOrigin first sets up a network where it memorizes SPOTs running RoundRobinRadioSatellite attempting to connect to it. After the network is established, the SPOT running RoundRobinRadioOrigin can scan through channels in round robin style (after a channel gets a turn, the next channel gets a chance) or listen on a specific channel for data. RoundRobinRadioOrigin uses PAN ID Verification and it cannot be disabled.

Additional functions include status indicators using the LEDs:

During establishment:

The leftmost LEDs display how many SPOTs have been established. The rightmost LED will remain red until at least one SPOT has been established and will blink blue everytime another is established.

During channel scanning/watching:

The leftmost LEDs display which channel is being listened on. The rightmost LED will blink green if receiving data that has a registered PAN ID tag, blink blue if the data does not have a recognized PAN ID tag for the channel, or blink red if no broadcast was received during the search.

Click here for source code.


Special Requirements:

  • Deployed at the SPOT that will receive all signals from the SPOTs in the network
  • MUST run the establish function and successfully have connected SPOTs to work
  • If more than one Round Robin Radio Network is going to be used, each group MUST be established at separate times (or overlapping of networks may occur)!
  • SPOTs in the network must be running RoundRobinRadioSatellite

Uses:

BinaryDisplay


Used in:


Author(s):

Tyler McClung


See also:

SourceCode

The SPOTBot Wiki Home

The Source Code Repository