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
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
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
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
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
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