For this homework, you have to start implementing the RAP protocol.

Don't stress

This is a first version of the protocol only, and this assignment is a "best-effort" assignment: do it as well as you can, but don't stress out if you run into trouble. You will be mostly graded on later versions of the protocol you implement (for instance, the one that will be due on May 24). However, it is worth trying to do as good a job as possible, not to leave too much to be done later.

What to do

What you have to do is to implement the RR and RP packets (the broadcast packets) and, if you can, start working on RC packets (which are routed). More in detail:

How to do it

What you don't need to implement yet

General Information

Every one of you needs an address (a small integer), for the PC and for the Robot. Choose an ordering for the tables in the lab, and let the first PC be number 1, the first Robot be number 2, the second PC be number 3, the second robot be number 4, and so on.

Feel free (in fact, it is advised) to work in groups for debugging the program, so that you can try to receive and send packets others are sending. However, for this assignment you must write your own code, and you can discuss only the code architecture with other students; you cannot share pieces of code.

CMPE 117 Spring 2007/Robos ad-hoc protocol, part 1 (last edited 2007-05-15 15:41:56 by LucaDeAlfaro)