Hello, > All the messages to and from your 50 re-Motes go through one > TOSBase mote on the MIB adapter to get to the host computer > where SerialForwarder (or any other client program) is running. > The messages are distinguished by a destination address (e.g., > the addr field in the TOS_Msg struct in ...tos/types/AM.h), and > sometimes contain a source address so you can tell where they > came from. To send a message to a specific mote you put it's > moteID in the destination address. > > Was that the question? > MS
For the case of using a single mote with TOSBase which forwards messages it is clear. But, say we got two motes connected per USB to the computer. We would need two instances of SerialForwarder, each associated to one of the motes, and if a program on the computer wants to communicate with one of the motes, it would have to know which SerialFowarder to connect to. How would I have to do that? And going a bit further. The ideal case would be to have a program which automatically checks USB ports, gets the mote address of each mote connected and creates a SerialForwarder association with each mote, so that if a program wants to send a message to a mote, it only needs to know its local address. I am sure something similar already exists. I would like to know is it done. Thanks, - J. _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
