[Tinyos-help] Python SerialSource implementation?

2012-11-27 Thread Doug Carlson
Howdy. Looking at the code for tinyos.message.MoteIF, it looks like if you use a serial@dev:baud source when calling addSource, it will check for the existence of a tinyos.packet.SerialSource module (which is set to None if the import of such a module fails). I don't see a SerialSource.py anywhere

Re: [Tinyos-help] Python SerialSource implementation?

2012-11-28 Thread András Bíró
Hi Doug, I had the same issue recently: http://code.google.com/p/tinyos-main/issues/detail?id=152 Yann Le Corre was kind enough to send me his working version of the pyton sdk, what he found somewhere on the internet: http://dl.dropbox.com/u/363226/munka/tos-python.tar.gz But I never really worked

Re: [Tinyos-help] Python SerialSource implementation?

2012-11-28 Thread Doug Carlson
Andras, Thanks! I made some fixes and it seems good to go now. I've attached the fixed version to the issue in the google code repo: http://code.google.com/p/tinyos-main/issues/detail?id=152 It was mostly there, but some constants were incorrect and it didn't handle ACK's properly. The code's not

Re: [Tinyos-help] Python SerialSource implementation?

2012-11-29 Thread András Bíró
On Thu, Nov 29, 2012 at 12:56 AM, Doug Carlson wrote: > Andras, > Thanks! I made some fixes and it seems good to go now. I've attached the > fixed version to the issue in the google code repo: > http://code.google.com/p/tinyos-main/issues/detail?id=152 > Great! > > It was mostly there, but some

Re: [Tinyos-help] Python SerialSource implementation?

2012-11-29 Thread Doug Carlson
Howdy. On Thu, Nov 29, 2012 at 3:06 AM, András Bíró wrote: > > > > On Thu, Nov 29, 2012 at 12:56 AM, Doug Carlson wrote: > >> Andras, >> Thanks! I made some fixes and it seems good to go now. I've attached the >> fixed version to the issue in the google code repo: >> http://code.google.com/p/ti