Hi all, I'm starting in TinyOs and I would like to send commands throw serial port to a mote/network. I already worked with some examples but I am having some problems put some of them together and even understand witch one is the best to produce the scenario that I want to do.
For example: Having a network with Mote 0 the Serial gateway/Basestation and the Mote 1 and 2 as common wsn nodes. - Send the string "SET,LED,2,OFF,MOTE,0" through serial port for Mote 0 it will turn off the led 2 from mote 0 (base station) - Send the string "SET,LED,1,ON,MOTE,1" through serial port for Mote 0. The Mote 0 a) sends the message through radio b) the Mote 1 it will receive and turn on the led 1. After c) the Mote 1 change the led of the Mote send an message through radio to Mote 0 with "ACK,MOTE,1,LED,1,ON". The d) the Mote 0 receives and replies to serial port - Send the string "SET,LED,2,OFF,MOTE,2" through serial port for Mote 0. The Mote 0 a) sends the message through radio b) the Mote 2 it will receive and turn off the led 2. After c) the Mote 2 change the led of the Mote send an message through radio to Mote 0 with "ACK,MOTE,2,LED,2,OFF". The d) the Mote 0 receives and replies to serial port Can someone give me some feedback of examples or best way to implement this scenario? Best regards, Pedro
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
