[Tinyos-devel] serial communication in TinyOS2

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Tue Jun 6 11:26:42 PDT 2006


Hi!

On Mon, 5 Jun 2006, Philip Levis wrote:

> On Jun 5, 2006, at 5:38 PM, Razvan Musaloiu-E. wrote:
>
> > Hi!
> >
> > I'm trying to use the serial communication from TinyOS2 and I encounter
> > some difficulties.
> >
> > ...
> >
> > Second: I find very tempting to use Python to talk to a serial forwarder
> > but the code from tinyos-2.x/support/sdk/python doesn't have any
> > utilization instructions. :-) I manage find how I can connect to a serial
> > forwarder (sending "U ") and what is the format of the received data
> > (one byte size follow by the packet) but I still don't know how to
> > use the Message class in a useful way. Could someone make a little light
> > here? :-)
>
> There is not a complete Python SDK for TinyOS yet. Geoff Mainland at
> Harvard implemented one for 1.x, but some changes would be needed for
> it to work with 2.x. The code currently in sdk/python is just enough
> to generate messages when using TOSSIM.

Acknowledge. I was not aware of his work. I'll search and see if I can
make some use in 2.x.

Thank you!
Razvan ME



More information about the Tinyos-devel mailing list