meghs94 / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
1 stars 0 forks source link

python sdk seems to be broken #152

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The current python sdk seems to be broken.
It's unusable for serial connection, because tinyos.packet.SerialSource is 
missing. It gives an exception like this:

File "./Silo.py", line 17, in __init__
    self.tos_source = self.mif.addSource(motestring)
  File "/opt/tinyos-2.x/support/sdk/python/tinyos/message/MoteIF.py", line 144, in addSource
    raise MoteIFException("bad source")

Original issue reported on code.google.com by andras.b...@unicomp.hu on 29 Oct 2012 at 5:52

GoogleCodeExporter commented 8 years ago
The attached .tgz incorporates the code that andras linked to on the 
tinyos-help mailing list 
(http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2012-November/056124.
html), provided by Yann Le Corre.

I made some bug fixes, and it appears to work well (at least for the simple 
low-stress application that I am running). 

Original comment by carlso...@gmail.com on 28 Nov 2012 at 11:50

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in revision 6032.

Original comment by philip.l...@gmail.com on 18 Dec 2012 at 12:24