I need to configure my code to make retransmission in slotted Aloha in case of collision, how to choose the timer ?


Keep in mind that the other guy (who you collided with) will also try to retransmit. So you need a random factor.

You can start by waiting 1 to 16 slots and if you collide again (6.25% chance both parties picked the same slot) then you wait for 1 to 32 slots and so on.

  • $\begingroup$ do u mean choose random number between 1 and 16 $\endgroup$ Jan 4 '16 at 17:43
  • $\begingroup$ @EK.Technology yeah. The more slots you provide the less chance for repeated collision but the longer the potential delay. $\endgroup$ Jan 4 '16 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.