Hi, I m trying to use BlinkToRadio program on motes. I have successfully Uploaded the BlinkToRadio code on node. I have successfully uploaded the BaseStation Code on the node at gateway node. After this I have used MIG tool for generating java file. Now I have written a java program that listens the serial port and displays the output.
At Base Station I am receiving the packets but the problem is in the output. Actual output: serial@/dev/ttyUSB2:57600: resynchronising Node=3: Value= 0: Source= 256 Node=3: Value= 256: Source= 256 Node=3: Value= 512: Source= 256 Node=3: Value= 768: Source= 256 Node=3: Value= 1024: Source= 256 Node=3: Value= 1280: Source= 256 Node=3: Value= 1536: Source= 256 Node=3: Value= 1792: Source= 256 Node=3: Value= 2048: Source= 256 Node=3: Value= 2304: Source= 256 Node=3: Value= 2560: Source= 256 Node=3: Value= 2816: Source= 256 Node=3: Value= 3072: Source= 256 Node=3: Value= 3328: Source= 256 Node=3: Value= 3584: Source= 256 Node=3: Value= 3840: Source= 256 Node=3: Value= 4096: Source= 256 Node=3: Value= 4352: Source= 256 Expected Output: serial@/dev/ttyUSB2:57600: resynchronising Node=3: Value= 0: Source= 3 Node=3: Value= 1: Source= 3 Node=3: Value= 2: Source= 3 Node=3: Value= 3: Source= 3 Node=3: Value= 4: Source= 3 Node=3: Value= 5: Source= 3 Node=3: Value= 6: Source= 3 Node=3: Value= 7: Source= 3 Node=3: Value= 8: Source= 3 Node=3: Value= 9: Source= 3 Node=3: Value= 10: Source= 3 Node=3: Value= 11: Source= 3 Node=3: Value= 12: Source= 3 Node=3: Value= 13: Source= 3 Node=3: Value= 14: Source= 3 Node=3: Value= 15: Source= 3 Node=3: Value= 16: Source= 3 Node=3: Value= 17: Source= 3 My Queries are: Question 1: Can anybody explain me Why the output no showing the correct value at base station? Question 2: Is there any need to modify Base Station Code for this program? If Yes what modifications must be done? Question 3: How can I get the correct output at BaseStation? Question 4: What is the relation Between AM_TYPE an Data Packet structure?? -- View this message in context: http://tinyos-help.10906.n7.nabble.com/Help-needed-BlinkToRadio-on-Motes-tp24391.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help