On Tuesday 26 June 2007 04:57:06 pm James Kebinger wrote:
> I'm working on being able to interact with my mica2 motes (tinyos2.x) via
> python. I'm playing with BlinkToRadio and BaseStation Using the mig
> generated python class BlinkToRadio, I still have to manually
> struct.unpackthat data before i can send it.
> The receiving case is worse, because the packet read off the Serial object
> includes all its headers, so I'll have to chop that off and repack the data
> to create a new BlinkToRadio object.
>
> Isn't there a better way than this? Seems like there's a whole layer of
> python code missing.
>
> Is anyone actually using the python sdk?

I haven't seen any talk about the pyhton sdk on this list recently.  Some 
about the C sdk and more about the Java sdk.

I notice the README in $TOSROOT says the python SDK is limited and not fully 
supported.  I also found this posting via google: 
http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/2006-June/001188.html

The relevant bit: "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."

Steve
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to