Re: [Tinyos-help] [Tinyos-Help] Send Data from PC to TelosB (basestation)

2010-11-26 Thread krisa
The file you are looking for is located (at least on my tinyos installation) in folder /opt/tinyos-2.1.1/support/sdk/java/net/tinyos/packet/ and it is called Packetizer.java Basically it contains the decription of the UART communication protocol as well as full implementation for methods for both

[Tinyos-help] [Tinyos-Help] Send Data from PC to TelosB (basestation)

2010-11-23 Thread José Eduardo S . C . Xavier
Can anyone help me to know how to send data via uart to telosB? Thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] [Tinyos-Help] Send Data from PC to TelosB (basestation)

2010-11-23 Thread Michael Schippling
I believe there is a TestSerial demo program in TOS2.x that you could use as an example. MS José Eduardo S. C. Xavier wrote: Can anyone help me to know how to send data via uart to telosB? Thanks

Re: [Tinyos-help] [Tinyos-Help] Send Data from PC to TelosB (basestation)

2010-11-23 Thread José Eduardo S . C . Xavier
I have a file named TestSerial.java and i can't see where the packet format is. It imports net.tinyos.message and net.tinyos.packet; where should i search for the solution? inside those files? regards No dia 23 de Novembro de 2010 17:53, Michael Schippling sc...@santafe.eduescreveu: I believe

Re: [Tinyos-help] [Tinyos-Help] Send Data from PC to TelosB (basestation)

2010-11-23 Thread Michael Schippling
I don't use T2 so I can't help trace through TestSerial, message and packet are the underlying classes for messaging but they may be extended somehow for the program. Perhaps there is some other documentation if you search. I have a rather convoluted example of bi-directional communication here

Re: [Tinyos-help] [Tinyos-Help] Send Data from PC to TelosB (basestation)

2010-11-23 Thread Eric Decker
try the tutorials. Good place to try. http://docs.tinyos.net/index.php/TinyOS_Tutorials#Mote-mote_radio_communication It won't walk you through but you should be able to figure it out from there. The first one, mote-to-mote talks about communications, the next tutorial, mote-to-pc talks about